Files
twx-linux/drivers
Johan Hovold 4798e468b3 NFC: nfcmrvl_uart: add missing tty-device sanity check
commit 15e0c59f15 upstream.

Make sure to check the tty-device pointer before trying to access the
parent device to avoid dereferencing a NULL-pointer when the tty is one
end of a Unix98 pty.

Fixes: e097dc624f ("NFC: nfcmrvl: add UART driver")
Cc: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-27 15:06:03 -07:00
..
…
…
…
…
…
…
…
…
…
…
2017-06-17 06:39:36 +02:00
…
…
…
2017-07-27 15:06:02 -07:00
2017-02-23 17:43:10 +01:00
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
2017-07-05 14:37:20 +02:00
…
…
…
…