Searched hist:ae3759c2573031f1306496c6f9f32f20e86f03aa (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | io_ti.c | diff ae3759c2573031f1306496c6f9f32f20e86f03aa Thu Apr 04 15:41:01 CDT 2013 Jiri Slaby <jslaby@suse.cz> USB: io_ti, stop dereferencing potential NULL
tty_port_tty_get might return a tty which is NULL. But it is dereferenced unconditionally in edge_send. Stop dereferencing that by sending usb_serial_port pointer around.
Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|