summaryrefslogtreecommitdiff
path: root/tools/accounting
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-30 13:15:36 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2017-06-19 00:57:59 +0300
commit15e0c59f1535926a939d1df66d6edcf997d7c1b9 (patch)
tree32e8706e33c816dbebeb11a3a7bf3163c5db0ef9 /tools/accounting
parent20777bc57c346b6994f465e0d8261a7fbf213a09 (diff)
downloadlinux-15e0c59f1535926a939d1df66d6edcf997d7c1b9.tar.xz
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 <stable@vger.kernel.org> # 4.2 Cc: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions