linux/drivers/usb/serial
Pan Bian 3c3dd1e058 USB: serial: kl5kusb105: abort on open exception path
Function klsi_105_open() calls usb_control_msg() (to "enable read") and
checks its return value. When the return value is unexpected, it only
assigns the error code to the return variable retval, but does not
terminate the exception path. This patch fixes the bug by inserting
"goto err_generic_close;" when the call to usb_control_msg() fails.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Pan Bian <bianpan2016@163.com>
[johan: rebase on prerequisite fix and amend commit message]
Signed-off-by: Johan Hovold <johan@kernel.org>
2016-11-30 10:54:30 +01:00
..
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: add debug output for chip version 2016-10-24 17:41:30 +02:00
console.c
cp210x.c USB: serial: cp210x: use tcflag_t to fix incompatible pointer type 2016-11-21 15:19:01 +01:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
f81232.c
f81534.c USB: serial: add Fintek F81532/534 driver 2016-11-29 11:13:16 +01:00
ftdi_sio.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add device ID for WICED USB UART dev board 2016-08-08 12:24:14 +02:00
garmin_gps.c
generic.c USB: serial: use variable for status 2016-07-16 12:45:39 +02:00
io_16654.h
io_edgeport.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c
iuu_phoenix.h
Kconfig USB: serial: add Fintek F81532/534 driver 2016-11-29 11:13:16 +01:00
keyspan.c USB: serial: keyspan: fix debug and error messages 2016-05-10 09:39:57 +02:00
keyspan.h
keyspan_pda.c USB: serial: use IS_ENABLED() instead of checking for built-in or module 2016-08-22 09:36:28 +02:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: kl5kusb105: abort on open exception path 2016-11-30 10:54:30 +01:00
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile USB: serial: add Fintek F81532/534 driver 2016-11-29 11:13:16 +01:00
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
mos7840.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
mxuport.c USB patches for 4.7-rc1 2016-05-20 21:12:25 -07:00
navman.c
omninet.c
opticon.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
option.c USB: serial: option: add WeTelecom 0x6802 and 0x6803 products 2016-08-24 14:13:40 +02:00
oti6858.c
oti6858.h
pl2303.c
pl2303.h
qcaux.c
qcserial.c
quatech2.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
safe_serial.c
sierra.c
spcp8x5.c
ssu100.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
symbolserial.c
ti_usb_3410_5052.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
usb-serial-simple.c USB: serial: simple: add support for another Infineon flashloader 2016-09-12 10:19:41 +02:00
usb-serial.c USB: serial: fix memleak in driver-registration error path 2016-08-08 13:41:17 +02:00
usb-wwan.h
usb_debug.c
usb_wwan.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
visor.c
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c