summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-16 19:41:55 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-16 21:56:53 +0100
commitcb1b494663e037253337623bf1ef2df727883cb7 (patch)
tree4ce7f194f1357eb9a8f577a9e599f31fc22f2c7f /security/loadpin
parentInput: hanwang - validate number of endpoints before using them (diff)
downloadlinux-cb1b494663e037253337623bf1ef2df727883cb7.tar.xz
linux-cb1b494663e037253337623bf1ef2df727883cb7.zip
Input: kbtab - validate number of endpoints before using them
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> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions