Files
linux/drivers
Johan Hovold 425823646e Input: sur40 - validate number of endpoints before using them
commit 92461f5d72 upstream.

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.

Fixes: bdb5c57f20 ("Input: add sur40 driver for Samsung SUR40... ")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:41:23 +02:00
..
2017-02-09 08:08:27 +01:00
2016-12-05 14:53:46 -05:00
2017-03-12 06:41:45 +01:00
2016-09-27 12:33:47 +02:00
2017-03-26 13:05:57 +02:00
2017-02-23 17:44:36 +01:00
2016-09-20 20:57:12 +10:00
2016-11-01 09:04:04 -06:00