summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-29 18:15:28 +0200
committerMarcel Holtmann <marcel@holtmann.org>2017-04-12 22:02:39 +0200
commitdcb9cfaa5ea9aa0ec08aeb92582ccfe3e4c719a9 (patch)
treedf31b92dca47e28ce3c146d622b3c35049ab6fff /net/bluetooth
parent95065a61e9bf25fb85295127fba893200c2bbbd8 (diff)
downloadlinux-dcb9cfaa5ea9aa0ec08aeb92582ccfe3e4c719a9.tar.gz
linux-dcb9cfaa5ea9aa0ec08aeb92582ccfe3e4c719a9.tar.bz2
linux-dcb9cfaa5ea9aa0ec08aeb92582ccfe3e4c719a9.zip
Bluetooth: hci_intel: add missing tty-device sanity check
Make sure to check the tty-device pointer before looking up the sibling platform device to avoid dereferencing a NULL-pointer when the tty is one end of a Unix98 pty. Fixes: 74cdad37cd24 ("Bluetooth: hci_intel: Add runtime PM support") Fixes: 1ab1f239bf17 ("Bluetooth: hci_intel: Add support for platform driver") Cc: stable <stable@vger.kernel.org> # 4.3 Cc: Loic Poulain <loic.poulain@intel.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions