commit | 2c867216c555f5897b327daed6240bfb9e489c97 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 06 15:33:36 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 15 13:42:56 2017 +0100 |
tree | 90e089fe9add94d3b622435bee2eccef2ce00f90 | |
parent | e425ed1d3c75295a3578df1a8b0314a83d9a5ec8 [diff] |
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>