linux-uconsole/drivers/usb/misc
Alan Stern de46c1adbe usb: usbtest: fix NULL pointer dereference
commit 7c80f9e4a5 upstream.

If the usbtest driver encounters a device with an IN bulk endpoint but
no OUT bulk endpoint, it will try to dereference a NULL pointer
(out->desc.bEndpointAddress).  The problem can be solved by adding a
missing test.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-18 11:11:05 +01:00
..
sisusbvga
adutux.c
appledisplay.c
chaoskey.c USB: chaoskey read offset bug 2015-10-04 11:01:13 +01:00
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c usb: misc: ftdi-elan: Simplify return statement 2015-08-05 12:37:21 -07:00
idmouse.c USB: idmouse: fix NULL-deref at probe 2017-03-30 09:35:17 +02:00
iowarrior.c USB: iowarrior: fix info ioctl on big-endian hosts 2017-05-25 14:30:13 +02:00
isight_firmware.c
Kconfig
ldusb.c usb, HID: Remove Vernier devices from lsusb and hid_ignore_list 2015-06-01 14:44:08 +02:00
legousbtower.c usb: misc: legousbtower: Fix memory leak 2017-05-25 14:30:07 +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: misc: usb3503: Use i2c_add_driver helper macro 2015-10-24 19:53:53 -07:00
usb_u132.h
usblcd.c
usbled.c
usbsevseg.c
usbtest.c usb: usbtest: fix NULL pointer dereference 2017-11-18 11:11:05 +01:00
uss720.c USB: uss720: fix NULL-deref at probe 2017-03-30 09:35:16 +02:00
yurex.c