diff options
author | 2011-03-15 16:41:47 +0100 | |
---|---|---|
committer | 2011-03-23 13:14:16 -0700 | |
commit | 9d02b42614149ebccf12c9c580601ed01bd83070 (patch) | |
tree | 010f30f5acba34e61aeff61e47aeaad8306ce1ff /kernel | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 (diff) | |
download | wireguard-linux-9d02b42614149ebccf12c9c580601ed01bd83070.tar.xz wireguard-linux-9d02b42614149ebccf12c9c580601ed01bd83070.zip |
USB: Do not pass negative length to snoop_urb()
When `echo Y > /sys/module/usbcore/parameters/usbfs_snoop` and
usb_control_msg() returns error, a lot of kernel memory is dumped to dmesg
until unhandled kernel paging request occurs.
Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions