]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Fix using NULL inquiry entry
authorRam Malovany <ramm@ti.com>
Thu, 19 Jul 2012 07:26:09 +0000 (10:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 17:00:18 +0000 (10:00 -0700)
commita431bd57a95921188f61096e5ce29d1b769be118
treef4fbb606f078679e9f9e918354ddba0b075e4ada
parent4c795fe18aa1d2756a82c46ca29d4bfad2704d4d
Bluetooth: Fix using NULL inquiry entry

commit c810089c27e48b816181b454fcc493d19fdbc2ba upstream.

If entry wasn't found in the hci_inquiry_cache_lookup_resolve do not
resolve the name.This will fix a kernel crash when trying to use NULL
pointer.

Signed-off-by: Ram Malovany <ramm@ti.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/hci_event.c