diff options
| author | Johan Hovold <[email protected]> | 2017-03-16 18:35:12 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2017-03-16 20:56:50 +0000 |
| commit | ac2ee9ba953afe88f7a673e1c0c839227b1d7891 (patch) | |
| tree | e2177137cd0d720e113a25fab1eb93ed7cd9b51c /net/unix/garbage.c | |
| parent | Input: iforce - validate number of endpoints before using them (diff) | |
| download | kernel-ac2ee9ba953afe88f7a673e1c0c839227b1d7891.tar.gz kernel-ac2ee9ba953afe88f7a673e1c0c839227b1d7891.zip | |
Input: cm109 - 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: c04148f915e5 ("Input: add driver for USB VoIP phones with CM109...")
Signed-off-by: Johan Hovold <[email protected]>
Cc: [email protected] # 2.6.28
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
