commit | af224ca2df297440448b9d407d21b50982c6d532 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Apr 09 18:56:35 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 30 09:26:55 2016 -0700 |
tree | 768c0bc31d6cab24ff46f0d667882cfd4e0213cb | |
parent | 9ed19428a51d53477e2b79be3303fa08f8575749 [diff] |
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>