diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-06 15:33:36 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-01-06 16:06:43 +0100 |
commit | 1ebb71143758f45dc0fa76e2f48429e13b16d110 (patch) | |
tree | 807bc3a12427e4334d2c54716759e26ac2c3ebc1 /drivers/hid/i2c-hid/i2c-hid.c | |
parent | 08f9572671c8047e7234cbf150869aa3c3d59a97 (diff) | |
download | op-kernel-dev-1ebb71143758f45dc0fa76e2f48429e13b16d110.zip op-kernel-dev-1ebb71143758f45dc0fa76e2f48429e13b16d110.tar.gz |
HID: hid-cypress: validate length of report
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
0 files changed, 0 insertions, 0 deletions