bluetooth: Fix missing NULL check
authorAlan Cox <alan@linux.intel.com>
Fri, 22 Oct 2010 13:11:26 +0000 (14:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Oct 2010 15:33:18 +0000 (08:33 -0700)
commitc19483cc5e56ac5e22dd19cf25ba210ab1537773
tree8255f43e5ba324f3718c375fce42047d677ae6ff
parentd4429f608abde89e8bc1e24b43cd503feb95c496
bluetooth: Fix missing NULL check

Fortunately this is only exploitable on very unusual hardware.

[Reported a while ago but nothing happened so just fixing it]

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/bluetooth/hci_ldisc.c