Files
linux/drivers
Johan Hovold 549993001e Input: sur40 - validate number of endpoints before using them
commit 92461f5d723037530c1f36cce93640770037812c 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:35:15 +02:00
..
2017-03-12 06:37:27 +01:00
2017-03-26 12:13:18 +02:00
2017-03-26 12:13:18 +02:00
2016-09-24 10:07:35 +02:00
2017-03-26 12:13:19 +02:00
2017-03-12 06:37:24 +01:00
2017-01-12 11:22:47 +01:00
2017-02-23 17:43:10 +01:00
2016-11-26 09:54:53 +01:00