Files
linux/drivers/input/touchscreen
Johan Hovold 92461f5d72 Input: sur40 - 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.

Fixes: bdb5c57f20 ("Input: add sur40 driver for Samsung SUR40... ")
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org	# 3.13
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-03-16 13:56:54 -07:00
..
2016-04-28 10:52:28 +02:00
2017-01-24 12:37:43 -08:00
2017-02-09 13:54:51 -08:00
2017-02-09 13:54:51 -08:00
2016-01-02 21:08:53 -08:00
2016-11-16 16:59:55 -08:00
2016-03-02 09:40:20 -08:00
2017-02-12 14:55:08 -08:00