android_kernel_samsung_msm8976/drivers/usb/misc
Alan Stern bf183f9e9a usb: usbtest: fix NULL pointer dereference
commit 7c80f9e4a588f1925b07134bb2e3689335f6c6d8 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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-27 21:45:16 +02:00
..
sisusbvga
Kconfig
Makefile
adutux.c
appledisplay.c
cypress_cy7c63.c
cytherm.c
diag_bridge.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c
ipc_bridge.c
isight_firmware.c
ks_bridge.c
ldusb.c
legousbtower.c
mdm_ctrl_bridge.c
mdm_data_bridge.c
rio500.c
rio500_usb.h
trancevibrator.c
usb3503.c
usb_u132.h
usblcd.c
usbled.c
usbsevseg.c
usbtest.c
uss720.c
yurex.c