Bluetooth: Fix using NULL inquiry entry
authorRam Malovany <ramm@ti.com>
Thu, 19 Jul 2012 07:26:09 +0000 (10:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:19:36 +0000 (15:19 -0300)
commitc810089c27e48b816181b454fcc493d19fdbc2ba
tree1784672bacd60890f7e8d348a1b40a4a68d0a63c
parenta9ea3ed9b71cc3271dd59e76f65748adcaa76422
Bluetooth: Fix using NULL inquiry entry

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.

Cc: stable@vger.kernel.org
Signed-off-by: Ram Malovany <ramm@ti.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c
This page took 0.02713 seconds and 5 git commands to generate.