bluetooth: Fix missing NULL check
authorAlan Cox <alan@linux.intel.com>
Fri, 22 Oct 2010 13:11:26 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 18:47:30 +0000 (10:47 -0800)
commit3502405eb88b9086acd4fe1dc5113122a19a2bb8
tree350d0b3fa78e73508b2ad05ff678c793d282bd06
parentebf7608d15a8029ede4b186ba5ec891d0ecfd716
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