linux/drivers/usb/serial
Jiri Slaby 6960f40a95 USB: serial/kobil_sct, fix potential tty NULL dereference
Make sure that we check the return value of tty_port_tty_get.
Sometimes it may return NULL and we later dereference that.

The only place here is in kobil_read_int_callback, so fix it.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-28 19:24:54 -08:00
..
aircable.c
ark3116.c tty: Convert the USB drivers to the new icount interface 2010-10-22 10:20:04 -07:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
ChangeLog.history
console.c
cp210x.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
empeg.c
ezusb_convert.pl
ezusb.c
ftdi_sio_ids.h USB: ftdi_sio: Add VID=0x0647, PID=0x0100 for Acton Research spectrograph 2011-02-03 16:49:42 -08:00
ftdi_sio.c Merge 2.6.38-rc5 into usb-next 2011-02-17 09:56:55 -08:00
ftdi_sio.h
funsoft.c
garmin_gps.c
generic.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
hp4x.c
io_16654.h
io_edgeport.c USB: io_edgeport: fix the reported firmware major and minor 2011-02-03 16:40:58 -08:00
io_edgeport.h
io_ionsp.h
io_tables.h USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
io_ti.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
io_ti.h
io_usbvend.h
ipaq.c Revert "USB: Adding support for HTC Smartphones to ipaq" 2010-08-10 14:35:35 -07:00
ipw.c
ir-usb.c
iuu_phoenix.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
iuu_phoenix.h
Kconfig Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
keyspan_pda.c USB: serial/keyspan_pda, fix potential tty NULL dereferences 2011-02-28 19:24:54 -08:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: Fix possible null pointer dereference. 2011-02-25 11:33:01 -08:00
keyspan.h USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
kl5kusb105.c
kl5kusb105.h
kobil_sct.c USB: serial/kobil_sct, fix potential tty NULL dereference 2011-02-28 19:24:54 -08:00
kobil_sct.h
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: added _ioctl, _msr_to_icount and _get_icount functions 2011-02-04 11:42:51 -08:00
mct_u232.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
mos7720.c USB: serial: mos7720: Fix possible null pointer dereference 2011-02-25 11:33:01 -08:00
mos7840.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
moto_modem.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
navman.c USB: add device IDs for igotu to navman 2010-08-23 20:50:15 -07:00
omninet.c
opticon.c USB: opticon: add rts and cts support 2011-02-25 11:41:12 -08:00
option.c USB: adding USB support for Cinterion's HC2x, EU3 and PH8 products 2011-01-22 18:40:21 -08:00
oti6858.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
oti6858.h
pl2303.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
pl2303.h drivers: update to pl2303 usb-serial to support Motorola cables 2011-01-22 18:44:38 -08:00
qcaux.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
qcserial.c USB: qcserial: Enable Diagnostics Monitor and GPS ports on Gobi 2000 2010-10-22 10:21:49 -07:00
safe_serial.c
sam-ba.c USB: sam-ba: add driver for Atmel SAM Boot Assistant (SAM-BA) 2010-10-22 10:21:20 -07:00
siemens_mpi.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
sierra.c USB: sierra: error handling in runtime PM 2011-02-17 10:51:13 -08:00
spcp8x5.c USB: serial: handle Data Carrier Detect changes 2011-01-22 18:53:26 -08:00
ssu100.c USB: ssu100: remove max_packet_size calculation 2010-11-11 05:51:15 -08:00
symbolserial.c
ti_usb_3410_5052.c USB: ti_usb: fix module removal 2011-02-03 16:40:59 -08:00
ti_usb_3410_5052.h
usb_debug.c USB serial: add missing .usb_driver field in serial drivers 2011-01-22 18:38:59 -08:00
usb_wwan.c usb_wwan: fix error case in close() 2011-02-17 10:51:13 -08:00
usb-serial.c USB: serial drivers need to use larger bulk-in buffers 2011-02-25 11:38:32 -08:00
usb-wwan.h usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2) 2010-11-30 16:44:57 -08:00
visor.c USB: visor: fix initialisation of UX50/TH55 devices 2010-10-22 10:22:08 -07:00
visor.h
vivopay-serial.c
whiteheat.c
whiteheat.h
zio.c