diff options
| author | Johan Hovold <[email protected]> | 2017-03-16 18:34:02 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2017-03-16 20:56:45 +0000 |
| commit | 59cf8bed44a79ec42303151dd014fdb6434254bb (patch) | |
| tree | 7dc877eb9272ff0aade62aa70e9a56f9a6393644 /net/unix/garbage.c | |
| parent | Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw (diff) | |
| download | kernel-59cf8bed44a79ec42303151dd014fdb6434254bb.tar.gz kernel-59cf8bed44a79ec42303151dd014fdb6434254bb.zip | |
Input: iforce - validate number of endpoints before using them
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory that lie beyond the end of the endpoint
array should a malicious device lack the expected endpoints.
Signed-off-by: Johan Hovold <[email protected]>
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
