Files
linux/drivers/hid/usbhid
Scott Bauer 93a2001bdf HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands
This patch validates the num_values parameter from userland during the
HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previously, if the report id was set
to HID_REPORT_ID_UNKNOWN, we would fail to validate the num_values parameter
leading to a heap overflow.

Cc: [email protected]
Signed-off-by: Scott Bauer <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2016-06-24 10:21:39 +02:00
..
2015-03-27 16:03:26 +01:00
2012-06-25 17:25:00 +02:00
2015-01-21 22:23:20 +01:00
2015-12-28 13:13:20 +01:00
2012-04-25 14:48:20 -07:00