diff options
author | 2014-12-16 16:55:21 +0100 | |
---|---|---|
committer | 2014-12-17 08:50:12 +0100 | |
commit | f254ae938ea479739572790a4e9b0ca86d16249f (patch) | |
tree | ba6bc66d182876f716c6cfe9a4f8a1e9a0202add /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff) | |
download | wireguard-linux-f254ae938ea479739572790a4e9b0ca86d16249f.tar.xz wireguard-linux-f254ae938ea479739572790a4e9b0ca86d16249f.zip |
HID: logitech-dj: check report length
Malicious USB devices can send bogus reports smaller than the expected
buffer size. Ensure that the length is valid to avoid reading out of
bounds.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions