Searched hist:"331415 ff16a12147d57d5c953f3a961b7ede348b" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | hid.h | diff 331415ff16a12147d57d5c953f3a961b7ede348b Wed Sep 11 14:56:50 CDT 2013 Kees Cook <keescook@chromium.org> HID: provide a helper for validating hid reports
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> Cc: stable@vger.kernel.org Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
/openbmc/linux/drivers/hid/ |
H A D | hid-core.c | diff 331415ff16a12147d57d5c953f3a961b7ede348b Wed Sep 11 14:56:50 CDT 2013 Kees Cook <keescook@chromium.org> HID: provide a helper for validating hid reports
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> Cc: stable@vger.kernel.org Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|