aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/misc/cm109.c
Commit message (Collapse)AuthorAgeFilesLines
* Input: cm109 - validate number of endpoints before using themJohan Hovold2017-06-171-0/+4
| | | | | | | | | | | | commit ac2ee9ba953afe88f7a673e1c0c839227b1d7891 upstream. 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 <johan@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
* first commitMeizu OpenSource2016-08-151-0/+918