summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-30 12:15:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-27 15:06:03 -0700
commit4798e468b37ba4a397c303e5ed48563d437a47bc (patch)
tree76c6a4545f28c1cdd67684babce4afa54b40f20c /tools/perf/scripts/python/bin
parentf4d41096f49efa12f50b8e4b2f72f606525029d0 (diff)
NFC: nfcmrvl_uart: add missing tty-device sanity check
commit 15e0c59f1535926a939d1df66d6edcf997d7c1b9 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: e097dc624f78 ("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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions