]> err.no Git - linux-2.6/commit
[Bluetooth] Avoid NULL pointer dereference with tty->driver
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Jul 2006 13:53:31 +0000 (15:53 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 22:34:30 +0000 (15:34 -0700)
commit420cc3505f91246699bcfb88d30c4466adc0b87b
treee4732e344576a094766df06640d9ec3aa80a98ab
parent25ea6db04a96d7871e7ece27d566f3228d59d932
[Bluetooth] Avoid NULL pointer dereference with tty->driver

This patch checks for tty->driver before trying to call flush_buffer().

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c