android_kernel_samsung_a7y1.../drivers/input
Johan Hovold a41b0c0c11 Input: aiptek - fix endpoint sanity check
commit 3111491fca4f01764e0c158c5e0f7ced808eef51 upstream.

The driver was checking the number of endpoints of the first alternate
setting instead of the current one, something which could lead to the
driver binding to an invalid interface.

This in turn could cause the driver to misbehave or trigger a WARN() in
usb_submit_urb() that kernels with panic_on_warn set would choke on.

Fixes: 8e20cf2bce12 ("Input: aiptek - fix crash on detecting device without endpoints")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Vladis Dronov <vdronov@redhat.com>
Link: https://lore.kernel.org/r/20191210113737.4016-3-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:44:54 +02:00
..
gameport A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
joystick Input: iforce - add sanity checks 2020-04-06 20:48:39 +02:00
keyboard Input: nomadik-ske-keypad - fix a loop timeout test 2020-04-07 13:39:41 +02:00
misc Input: keyspan-remote - fix control-message timeouts 2020-04-07 13:44:44 +02:00
mouse Input: psmouse - fix build error of multiple definition 2020-04-06 20:50:06 +02:00
serio parisc: Fix HP SDC hpa address output 2020-04-07 12:41:10 +02:00
tablet Input: aiptek - fix endpoint sanity check 2020-04-07 13:44:54 +02:00
touchscreen Input: sur40 - fix interface sanity checks 2020-04-07 13:44:50 +02:00
wacom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm-power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evbug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-memless.c Input: ff-memless - kill timer in destroy() 2020-04-07 12:23:36 +02:00
input-compat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-compat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-leds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-mt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-polldev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input.c Input: add safety guards to input_set_keycode() 2020-04-07 13:32:32 +02:00
joydev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keycombo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keyreset.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
matrix-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mousedev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_cmd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm_v2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparse-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30