Greg KH
d4a4683ca0
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>
2010-02-16 15:11:01 -08:00
..
2009-12-12 13:08:15 +01:00
2010-01-20 01:26:22 -05:00
2010-02-04 01:04:50 -05:00
2009-12-13 19:56:33 -08:00
2010-01-20 15:02:13 -08:00
2010-02-05 13:15:36 +01:00
2010-02-03 19:08:30 -08:00
2010-02-11 14:01:10 -08:00
2009-12-15 08:53:28 -08:00
2010-02-02 15:58:48 -08:00
2010-01-13 10:55:16 -05:00
2010-01-11 09:34:07 -08:00
2010-02-02 06:50:25 +11:00
2010-02-10 12:07:28 -07:00
2010-02-11 14:07:13 -08:00
2010-02-14 15:10:41 +01:00
2009-12-15 08:53:34 -08:00
2010-01-11 09:34:07 -08:00
2010-02-15 15:24:48 +10:00
2010-01-13 16:10:13 -08:00
2010-02-05 19:58:36 +01:00
2010-02-05 17:48:13 +01:00
2009-12-12 14:27:24 -08:00
2009-12-17 11:43:25 +10:30
2009-12-29 19:58:17 +01:00
2010-02-11 14:01:25 -08:00
2010-02-11 14:03:42 -08:00
2010-01-12 20:53:29 -08:00
2009-12-17 11:42:34 +00:00
2010-01-04 12:33:33 -08:00
2010-01-15 13:26:04 +11:00
2010-02-10 11:26:09 +11:00
2010-02-08 10:47:17 -02:00
2010-02-08 13:40:17 -06:00
2010-01-29 21:03:09 +01:00
2009-12-17 16:38:48 -08:00
2010-02-11 13:59:42 -08:00
2010-01-28 12:57:50 -08:00
2010-02-08 22:44:18 -08:00
2009-12-14 09:58:24 -08:00
2009-12-16 03:48:56 +00:00
2009-12-16 07:20:12 -08:00
2010-02-05 07:36:50 -08:00
2009-12-30 13:13:24 -08:00
2010-01-20 01:23:27 -05:00
2009-12-16 12:33:19 -08:00
2010-01-29 17:00:18 +03:00
2010-02-12 11:39:49 +00:00
2010-02-02 18:11:21 -08:00
2010-02-11 14:05:55 -08:00
2010-01-04 15:31:10 -08:00
2010-02-08 13:45:55 -06:00
2010-02-02 18:11:22 -08:00
2009-12-15 08:53:27 -08:00
2010-02-02 11:29:15 +09:00
2010-02-01 10:46:49 -08:00
2009-12-16 14:22:32 -05:00
2009-12-15 08:53:25 -08:00
2010-02-16 15:11:01 -08:00
2010-02-02 18:11:22 -08:00
2010-01-16 12:15:39 -08:00
2010-01-25 19:48:49 +00:00
2010-01-13 10:01:35 +00:00
2009-12-29 19:58:17 +01:00