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
..
2007-07-31 15:39:39 -07:00
2007-08-22 19:52:46 -07:00
2007-10-14 12:41:51 -07:00
2007-10-13 23:56:33 +02:00
2007-10-13 09:41:03 -07:00
2007-10-14 16:46:44 -07:00
2007-07-31 15:39:37 -07:00
2007-10-14 08:53:33 -07:00
2007-07-26 11:35:17 -07:00