android_kernel_oneplus_msm8998/drivers/input
Johan Hovold b3c4c0c470 Input: kbtab - validate number of endpoints before using them
commit cb1b494663e037253337623bf1ef2df727883cb7 upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

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
..
gameport x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
joystick Input: iforce - validate number of endpoints before using them 2017-03-30 09:35:14 +02:00
keyboard Input: tegra-kbc - fix inverted reset logic 2016-09-07 08:32:44 +02:00
misc Input: cm109 - validate number of endpoints before using them 2017-03-30 09:35:15 +02:00
mouse Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw 2017-03-30 09:35:14 +02:00
serio Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000 2017-03-30 09:35:14 +02:00
tablet Input: kbtab - validate number of endpoints before using them 2017-03-30 09:35:15 +02:00
touchscreen Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data 2017-01-19 20:17:20 +01:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix bug in checking duplicate clock change request 2015-10-31 10:35:02 -07:00
ff-core.c Input: document and check on implicitly defined FF_MAX_EFFECTS 2015-10-16 15:32:16 -07:00
ff-memless.c
input-compat.c
input-compat.h
input-leds.c Input: LEDs - skip unnamed LEDs 2015-07-24 09:11:01 -07:00
input-mt.c
input-polldev.c
input.c Input: improve autorepeat initialization 2015-10-13 23:30:31 -07:00
joydev.c Input: joydev - fix possible ERR_PTR() dereferencing 2015-10-06 16:38:40 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c