kernel-fxtec-pro1x/drivers/usb/serial
Dan Carpenter 01a60e76b6 USB: keyspan: add a sanity test on "len"
"len" comes from the USB transfer and it's probably correct.  The thing
is that we already have similar checks like:

        if (data[i] >= serial->num_ports) {

So adding a sanity test here matches the rest of the code and is a good
idea.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-05 14:11:25 -07:00
..
aircable.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ark3116.c USB: ark3116: switch to generic TIOCMIWAIT implementation 2013-03-25 13:50:52 -07:00
belkin_sa.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
belkin_sa.h
bus.c USB: serial: clean up usb-serial bus device removal 2013-03-25 13:48:27 -07:00
ch341.c USB: ch341: fix TIOCMIWAIT and disconnect 2013-03-25 13:50:52 -07:00
console.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
cp210x.c USB: cp210x: always disable uart on close 2013-03-25 13:54:30 -07:00
cyberjack.c USB: cyberjack: fix disconnect handling 2013-03-25 13:48:26 -07:00
cypress_m8.c USB: cypress_m8: remove bogus disconnect test from close 2013-03-25 13:54:30 -07:00
cypress_m8.h
digi_acceleport.c USB: digi_acceleport: remove unused MSR-wait queue 2013-03-25 13:50:52 -07:00
empeg.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ezusb_convert.pl
f81232.c USB: f81232: fix TIOCMIWAIT and disconnect 2013-03-25 13:50:52 -07:00
ftdi_sio.c Merge branch 'usb-linus' into usb-next 2013-03-28 11:00:55 -07:00
ftdi_sio.h
ftdi_sio_ids.h usb: ftdi_sio: Add support for Mitsubishi FX-USB-AW/-BD 2013-03-28 08:50:22 -07:00
funsoft.c USB: serial: funsoft.c: remove debug module parameter 2012-09-14 12:31:27 -07:00
garmin_gps.c USB: garmin_gps: remove bogus disconnect test in bulk callback 2013-03-25 13:54:32 -07:00
generic.c USB: serial: update copyright information 2013-03-25 13:54:32 -07:00
hp4x.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
io_16654.h
io_edgeport.c USB: io_edgeport: switch to generic TIOCMIWAIT implementation 2013-03-25 13:50:53 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h USB: io_edgeport: switch to generic TIOCMIWAIT implementation 2013-03-25 13:50:53 -07:00
io_ti.c USB: io_ti: always disable uart on close 2013-03-25 13:54:31 -07:00
io_ti.h
io_usbvend.h
ipaq.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ipw.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ir-usb.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
iuu_phoenix.c USB: iuu_phoenix: remove bogus disconnect test in close 2013-03-25 13:54:32 -07:00
iuu_phoenix.h
Kconfig tty/serial patches for 3.9-rc1 2013-02-21 13:41:04 -08:00
keyspan.c USB: keyspan: add a sanity test on "len" 2013-04-05 14:11:25 -07:00
keyspan.h USB: keyspan: fix NULL-pointer dereferences and memory leaks 2012-10-25 09:37:13 -07:00
keyspan_pda.c USB: keyspan_pda: remove bogus disconnect test in close 2013-03-25 13:44:18 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: kl5kusb105: always disable uart on close 2013-03-25 13:54:31 -07:00
kl5kusb105.h
kobil_sct.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
kobil_sct.h
Makefile usb: add driver for xsens motion trackers 2013-01-25 09:56:54 -08:00
Makefile-keyspan_pda_fw
mct_u232.c USB: mct_u232: switch to generic TIOCMIWAIT implementation 2013-03-25 13:50:53 -07:00
mct_u232.h
metro-usb.c USB: metro-usb: always disable uart on close 2013-03-25 13:54:31 -07:00
mos7720.c USB: mos7720: always disable uart on close 2013-03-25 13:54:31 -07:00
mos7840.c USB: mos7840: switch to generic TIOCMIWAIT implementation 2013-03-25 13:52:24 -07:00
moto_modem.c
navman.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
omninet.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
opticon.c USB: opticon: remove disconnect test from tiocmset 2013-03-25 13:54:31 -07:00
option.c USB: added support for Cinterion's products AH6 and PLS8 2013-03-07 12:29:09 +08:00
oti6858.c USB: oti6858: fix TIOCMIWAIT and disconnect 2013-03-25 13:52:25 -07:00
oti6858.h
pl2303.c USB: pl2303: remove disconnect test from tiocmset 2013-03-25 13:54:32 -07:00
pl2303.h
qcaux.c qcaux: add Franklin U600 2013-03-11 11:09:17 -07:00
qcserial.c qcserial: bind to DM/DIAG port on Gobi 1K devices 2013-03-13 08:50:42 -07:00
quatech2.c USB: quatech2: always disable uart on close 2013-03-25 13:54:32 -07:00
safe_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
siemens_mpi.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
sierra.c USB: sierra: remove bogus disconnect test in close 2013-03-25 13:44:18 -07:00
spcp8x5.c USB: spcp8x5: add proper modem-status support 2013-03-25 13:52:28 -07:00
ssu100.c USB: ssu100: switch to generic TIOCMIWAIT implementation 2013-03-25 13:52:28 -07:00
symbolserial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ti_usb_3410_5052.c USB: ti_usb_3410_5052: switch to generic TIOCMIWAIT implementation 2013-03-25 13:52:28 -07:00
ti_usb_3410_5052.h
usb-serial.c Revert "USB: serial: fix hang when opening port" 2013-03-28 11:02:24 -07:00
usb-wwan.h USB: usb-wwan: fix multiple memory leaks in error paths 2012-10-25 09:37:13 -07:00
usb_debug.c
usb_wwan.c USB: usb_wwan: remove bogus disconnect test in close 2013-03-25 13:44:18 -07:00
visor.c USB: visor: always disable uart on close 2013-03-25 13:54:32 -07:00
visor.h
vivopay-serial.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
whiteheat.c USB: whiteheat: fix port-data memory leak 2012-10-25 09:36:57 -07:00
whiteheat.h
xsens_mt.c usb: add driver for xsens motion trackers 2013-01-25 09:56:54 -08:00
zio.c
zte_ev.c USB: serial: add zte_ev.c driver 2012-09-13 10:15:14 -07:00