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
(from:
3ae9936
)
Input: kbtab - validate number of endpoints before using them
author
Johan Hovold
<johan@kernel.org>
Thu, 16 Mar 2017 18:41:55 +0000
(11:41 -0700)
committer
Ben Hutchings
<ben@decadent.org.uk>
Tue, 18 Jul 2017 17:38:34 +0000
(18:38 +0100)
commit
cb1b494663e037253337623bf1ef2df727883cb7
upstream.
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
No differences found