android_kernel_oneplus_msm8998/drivers/usb/misc
Johan Hovold d6389d6abb USB: idmouse: fix NULL-deref at probe
commit b0addd3fa6bcd119be9428996d5d4522479ab240 upstream.

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

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:35:17 +02:00
..
sisusbvga
adutux.c
appledisplay.c
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c USB: idmouse: fix NULL-deref at probe 2017-03-30 09:35:17 +02:00
iowarrior.c USB: iowarrior: fix NULL-deref in write 2017-03-18 19:09:58 +08:00
isight_firmware.c
Kconfig
ldusb.c
legousbtower.c usb: misc: legousbtower: Fix NULL pointer deference 2016-10-07 15:23:47 +02:00
lvstest.c USB: lvtest: fix NULL-deref at probe 2017-03-30 09:35:16 +02:00
Makefile
rio500.c
rio500_usb.h
trancevibrator.c
usb3503.c
usb_u132.h
usblcd.c
usbled.c
usbsevseg.c
usbtest.c
uss720.c USB: uss720: fix NULL-deref at probe 2017-03-30 09:35:16 +02:00
yurex.c