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
..
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-05-20 13:21:47 -07:00
2010-10-22 10:22:07 -07:00
2011-02-17 10:51:13 -08:00
2010-05-20 13:21:47 -07:00
2008-07-22 13:03:22 -07:00
2010-05-20 13:21:32 -07:00