Jiri Kosina
2b107d629d
HID: fix incorrent length condition in hidraw_write()
...
The bound check on the buffer length
if (count > HID_MIN_BUFFER_SIZE)
is of course incorrent, the proper check is
if (count > HID_MAX_BUFFER_SIZE)
Fix it.
Reported-by: Jerry Ryle <jerry@mindtribe.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2008-10-14 23:51:00 +02:00
..
2008-10-14 23:50:57 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:59 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:52 +02:00
2008-10-14 23:50:53 +02:00
2008-10-14 23:50:59 +02:00
2008-10-14 23:50:56 +02:00
2008-05-20 16:44:43 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:58 +02:00
2008-10-14 23:50:52 +02:00
2008-10-14 23:50:54 +02:00
2008-10-14 23:50:59 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:58 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:53 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:56 +02:00
2008-10-14 23:50:51 +02:00
2008-10-14 23:51:00 +02:00
2008-10-14 23:50:58 +02:00
2008-10-14 23:50:56 +02:00