diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-06 14:33:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-15 12:42:56 (GMT) |
commit | 2c867216c555f5897b327daed6240bfb9e489c97 (patch) | |
tree | 90e089fe9add94d3b622435bee2eccef2ce00f90 /drivers/hid/hid-saitek.c | |
parent | e425ed1d3c75295a3578df1a8b0314a83d9a5ec8 (diff) | |
download | linux-2c867216c555f5897b327daed6240bfb9e489c97.tar.xz |
HID: hid-cypress: validate length of report
commit 1ebb71143758f45dc0fa76e2f48429e13b16d110 upstream.
Make sure we have enough of a report structure to validate before
looking at it.
Reported-by: Benoit Camredon <benoit.camredon@airbus.com>
Tested-by: Benoit Camredon <benoit.camredon@airbus.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-saitek.c')
0 files changed, 0 insertions, 0 deletions