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:
ba814bb
)
USB: idmouse: fix NULL-deref at probe
author
Johan Hovold
<johan@kernel.org>
Mon, 13 Mar 2017 12:47:48 +0000
(13:47 +0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Tue, 18 Jul 2017 17:38:32 +0000
(18:38 +0100)
commit
b0addd3fa6bcd119be9428996d5d4522479ab240
upstream.
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Fixes:
1da177e4c3f4
("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/misc/idmouse.c
patch
|
blob
|
history
diff --cc
drivers/usb/misc/idmouse.c
Simple merge