aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2017-03-16 18:39:29 +0000
committerDmitry Torokhov <[email protected]>2017-03-16 20:56:52 +0000
commitba340d7b83703768ce566f53f857543359aa1b98 (patch)
treedb3c84d288b2bbc111fcf4ccaba5d3aa79591dc5 /net/unix/garbage.c
parentInput: yealink - validate number of endpoints before using them (diff)
downloadkernel-ba340d7b83703768ce566f53f857543359aa1b98.tar.gz
kernel-ba340d7b83703768ce566f53f857543359aa1b98.zip
Input: hanwang - 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. Fixes: bba5394ad3bd ("Input: add support for Hanwang tablets") Signed-off-by: Johan Hovold <[email protected]> Cc: [email protected] # 2.6.37 Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions