diff options
author | Greg KH <greg@kroah.com> | 2010-02-15 09:37:46 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-16 15:11:01 -0800 |
commit | d4a4683ca054ed9917dfc9e3ff0f7ecf74ad90d6 (patch) | |
tree | 087b4ad7f541d166147f85941020bfbccfa3b0ba /virt/kvm/ioapic.h | |
parent | 0813e22d4e0d618eac9b47bec942bf856adca4c5 (diff) |
USB: usbfs: only copy the actual data received
We need to only copy the data received by the device to userspace, not
the whole kernel buffer, which can contain "stale" data.
Thanks to Marcus Meissner for pointing this out and testing the fix.
Reported-by: Marcus Meissner <meissner@suse.de>
Tested-by: Marcus Meissner <meissner@suse.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'virt/kvm/ioapic.h')
0 files changed, 0 insertions, 0 deletions