summaryrefslogtreecommitdiff
path: root/lib/seq_buf.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-06 14:33:36 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-15 12:42:56 (GMT)
commit2c867216c555f5897b327daed6240bfb9e489c97 (patch)
tree90e089fe9add94d3b622435bee2eccef2ce00f90 /lib/seq_buf.c
parente425ed1d3c75295a3578df1a8b0314a83d9a5ec8 (diff)
downloadlinux-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 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions