Jiri Slaby
f7d7aedfcd
USB: serial/keyspan_pda, fix potential tty NULL dereferences
...
Make sure that we check the return value of tty_port_tty_get.
Sometimes it may return NULL and we later dereference that.
There are several places to check. For easier handling,
tty_port_tty_get is moved directly to the palce where needed in
keyspan_pda_rx_interrupt.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-28 19:24:54 -08:00
..
2010-05-20 13:21:49 -07:00
2010-10-22 10:20:04 -07:00
2010-05-20 13:21:48 -07:00
2010-05-20 13:21:46 -07:00
2010-03-30 22:02:32 +09:00
2011-01-22 18:53:26 -08:00
2009-03-30 15:21:59 +02:00
2010-05-20 13:21:32 -07:00
2011-01-22 18:53:26 -08:00
2010-03-02 14:55:12 -08:00
2010-08-10 14:25:42 +02:00
2010-05-20 13:21:46 -07:00
2011-01-22 18:53:26 -08:00
2010-05-20 13:21:48 -07:00
2008-10-17 14:41:10 -07:00
2011-02-03 16:49:42 -08:00
2011-02-17 09:56:55 -08:00
2010-05-20 13:21:46 -07:00
2010-03-02 14:54:16 -08:00
2010-08-10 14:25:42 +02:00
2011-01-22 18:53:26 -08:00
2010-03-02 14:54:16 -08:00
2011-02-03 16:40:58 -08:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:47 -07:00
2011-01-22 18:38:59 -08:00
2010-10-24 13:41:39 -07:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:47 -07:00
2010-08-10 14:35:35 -07:00
2010-05-20 13:21:46 -07:00
2010-05-20 13:21:50 -07:00
2011-01-22 18:38:59 -08:00
2010-10-24 13:41:39 -07:00
2011-02-28 19:24:54 -08:00
2011-02-25 11:33:01 -08:00
2011-01-22 18:38:59 -08:00
2010-06-16 18:05:05 +02:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:47 -07:00
2010-10-22 10:22:07 -07:00
2011-02-04 11:42:51 -08:00
2010-10-18 11:03:14 +02:00
2011-02-25 11:33:01 -08:00
2010-10-24 13:41:39 -07:00
2011-01-22 18:38:59 -08:00
2010-08-23 20:50:15 -07:00
2010-08-10 14:25:42 +02:00
2011-02-25 11:41:12 -08:00
2011-01-22 18:40:21 -08:00
2011-01-22 18:38:59 -08:00
2011-01-22 18:53:26 -08:00
2011-01-22 18:44:38 -08:00
2011-01-22 18:38:59 -08:00
2010-10-22 10:21:49 -07:00
2010-05-20 13:21:49 -07:00
2010-10-22 10:21:20 -07:00
2011-01-22 18:38:59 -08:00
2011-02-17 10:51:13 -08:00
2011-01-22 18:53:26 -08:00
2010-11-11 05:51:15 -08:00
2010-03-30 22:02:32 +09:00
2011-02-03 16:40:59 -08:00
2010-04-22 15:18:20 -07:00
2011-01-22 18:38:59 -08:00
2011-02-17 10:51:13 -08:00
2011-02-25 11:38:32 -08:00
2010-11-30 16:44:57 -08:00
2010-10-22 10:22:08 -07:00
2010-05-20 13:21:47 -07:00
2010-03-02 14:54:57 -08:00
2010-08-10 14:25:42 +02:00
2010-05-20 13:21:32 -07:00