diff options
author | Steven Robertson <steven@strobe.cc> | 2010-07-21 16:38:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 14:35:41 -0700 |
commit | 33d973ad88ceb83ed1449592b7574b5b5bb33ac6 (patch) | |
tree | b2dec9a1718a66c05436fc94fcb646813b99c155 /drivers/usb/core | |
parent | 92eb2a5e533f39e8afc831acbbfdabe91cd0c20a (diff) | |
download | blackbird-op-linux-33d973ad88ceb83ed1449592b7574b5b5bb33ac6.tar.gz blackbird-op-linux-33d973ad88ceb83ed1449592b7574b5b5bb33ac6.zip |
USB: resizing usbmon binary interface buffer causes protection faults
Enlarging the buffer size via the MON_IOCT_RING_SIZE ioctl causes
general protection faults. It appears the culprit is an incorrect
argument to mon_free_buff: instead of passing the size of the current
buffer being freed, the size of the new buffer is passed.
Use the correct size argument to mon_free_buff when changing the size of
the buffer.
Signed-off-by: Steven Robertson <steven@strobe.cc>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions