android_kernel_lge_bullhead/drivers/input/joystick/iforce
Johan Hovold f0819a498b Input: iforce - validate number of endpoints before using them
commit 59cf8bed44a79ec42303151dd014fdb6434254bb 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.

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>
2017-06-20 14:03:28 +02:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Input: iforce - clean up Makefile 2010-11-22 12:54:13 -08:00
iforce-ff.c USB: remove warn() macro from usb input drivers 2008-10-17 14:41:08 -07:00
iforce-main.c USB: iforce: remove err() usage 2012-04-25 14:34:49 -07:00
iforce-packets.c USB: input: iforce: fix up dev_* messages 2012-05-04 15:23:04 -07:00
iforce-serio.c Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
iforce-usb.c Input: iforce - validate number of endpoints before using them 2017-06-20 14:03:28 +02:00
iforce.h USB: input: iforce: fix up dev_* messages 2012-05-04 15:23:04 -07:00