Files
kernel_amazon_mt8127-common/include/linux
Kees Cook 791abfbee8 HID: provide a helper for validating hid reports
commit 331415ff16a12147d57d5c953f3a961b7ede348b upstream.

Many drivers need to validate the characteristics of their HID report
during initialization to avoid misusing the reports. This adds a common
helper to perform validation of the report exisitng, the field existing,
and the expected number of values within the field.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-01 09:17:46 -07:00
..
2013-05-17 14:31:05 -04:00
2013-07-25 14:07:23 -07:00
2013-05-07 19:46:02 -07:00
2013-05-10 14:37:17 +01:00
2013-07-28 16:30:11 -07:00
2013-05-07 18:38:27 -07:00
2013-07-28 16:30:05 -07:00
2013-07-21 18:21:29 -07:00
2013-05-04 14:47:26 -04:00
2013-05-28 11:05:08 +02:00
2013-06-25 16:07:44 -07:00
2013-08-20 08:43:02 -07:00
2013-07-28 16:29:55 -07:00