diff options
| author | Johan Hovold <[email protected]> | 2017-03-30 12:15:36 +0200 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2017-06-18 23:57:59 +0200 |
| commit | 15e0c59f1535926a939d1df66d6edcf997d7c1b9 (patch) | |
| tree | 32e8706e33c816dbebeb11a3a7bf3163c5db0ef9 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 20777bc57c346b6994f465e0d8261a7fbf213a09 (diff) | |
NFC: nfcmrvl_uart: add missing tty-device sanity check
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: e097dc624f78 ("NFC: nfcmrvl: add UART driver")
Cc: stable <[email protected]> # 4.2
Cc: Vincent Cuissard <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions