linux-sg2042/drivers/input/joystick/iforce
Johan Hovold 59cf8bed44 Input: iforce - 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.

Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-03-16 13:56:45 -07:00
..
Kconfig
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-03-16 13:56:45 -07:00
iforce.h Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00