diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-04-10 04:56:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 19:26:55 +0300 |
commit | af224ca2df297440448b9d407d21b50982c6d532 (patch) | |
tree | 768c0bc31d6cab24ff46f0d667882cfd4e0213cb /drivers/tty/tty_io.c | |
parent | 9ed19428a51d53477e2b79be3303fa08f8575749 (diff) | |
download | linux-af224ca2df297440448b9d407d21b50982c6d532.tar.xz |
serial: core: Prevent unsafe uart port access, part 3
For tty operations which may expect uart port to have been removed
but still have other necessary work to accomplish, check for NULL
uart port; specifically uart_close(), uart_hangup() and sub-functions
(uart_shutdown() and uart_port_shutdown()).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
0 files changed, 0 insertions, 0 deletions