aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/tablet/hanwang.c
Commit message (Collapse)AuthorAgeFilesLines
* Input: hanwang - validate number of endpoints before using themJohan Hovold2017-06-171-0/+3
| | | | | | | | | | | | commit ba340d7b83703768ce566f53f857543359aa1b98 upstream. 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 <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/+462