linux/drivers/input/tablet
Vladis Dronov 24b12688c5 Input: aiptek - fix crash on detecting device without endpoints
commit 8e20cf2bce upstream.

The aiptek driver crashes in aiptek_probe() when a specially crafted USB
device without endpoints is detected. This fix adds a check that the device
has proper configuration expected by the driver. Also an error return value
is changed to more matching one in one of the error paths.

Reported-by: Ralf Spenneberg <ralf@spenneberg.net>
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Moritz Muehlenhoff <jmm@inutil.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2016-03-24 10:01:16 +00:00
..
acecad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
aiptek.c Input: aiptek - fix crash on detecting device without endpoints 2016-03-24 10:01:16 +00:00
gtco.c Input: gtco - fix usb_dev leak 2014-01-27 22:34:49 -08:00
hanwang.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
kbtab.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
Kconfig Merge branch 'next' into for-linus 2012-03-27 00:27:10 -07:00
Makefile Input: add support for Hanwang tablets 2010-09-01 23:26:18 -07:00
wacom.h Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
wacom_sys.c Input: wacom - add support for three new ISDv4 sensors 2014-05-14 18:47:09 -07:00
wacom_wac.c HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid 2015-03-03 14:40:05 +00:00
wacom_wac.h Input: wacom - process outbound for newer Cintiqs 2014-05-29 00:09:16 -07:00