git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0349678
)
HID: logitech-dj: check report length
author
Peter Wu
<peter@lekensteyn.nl>
Tue, 16 Dec 2014 15:55:21 +0000
(16:55 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 17 Dec 2014 07:50:12 +0000
(08:50 +0100)
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>
drivers/hid/hid-logitech-dj.c
patch
|
blob
|
history
diff --cc
drivers/hid/hid-logitech-dj.c
Simple merge