kernel_optimize_test/drivers/hid
Jiri Kosina 57d292bd7e HID: fix HIDIOCGRDESC memory access in hidraw
Fix bogus copying of data into userspace when HIDIOCGRDESC is issued.
HID-transport layer makes sure that dev->hid->rdesc is not larger than
HID_MAX_DESCRIPTOR_SIZE.

Noticed-by: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-15 08:12:00 -07:00
..
usbhid Merge branch 'hidraw' into for-linus 2007-10-14 14:47:56 +02:00
hid-core.c HID: add hidraw interface 2007-10-14 14:47:26 +02:00
hid-debug.c
hid-input.c more trivial signedness fixes in drivers 2007-10-14 12:41:52 -07:00
hidraw.c HID: fix HIDIOCGRDESC memory access in hidraw 2007-10-15 08:12:00 -07:00
Kconfig HID: add hidraw interface 2007-10-14 14:47:26 +02:00
Makefile HID: add hidraw interface 2007-10-14 14:47:26 +02:00