bluetooth: Fix missing NULL check
commitc5d70fb75393ca814b90fa088ba42cb6ac4fff69
authorAlan Cox <alan@linux.intel.com>
Fri, 22 Oct 2010 13:11:26 +0000 (22 14:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:29 +0000 (21 12:43 -0700)
tree71a6c841ec8bf2ccbca23464878ed95097df2262
parent7d6f5dbe923973537d25b07ae67bca552341cdf3
bluetooth: Fix missing NULL check

commit c19483cc5e56ac5e22dd19cf25ba210ab1537773 upstream.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/bluetooth/hci_ldisc.c