OSDN Git Service

Fix NPE in l2cble_notify_le_connection
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 15 Sep 2016 15:04:04 +0000 (08:04 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 16 Sep 2016 17:33:26 +0000 (17:33 +0000)
commit5e61112a98712c872560a1c7aa2f6ab7102c4da4
tree7fcff303e69a9606d0634a34094aa5595c77f44d
parentb4a5ec958fbea79dc4603b1f0a2497009bc59983
Fix NPE in l2cble_notify_le_connection

Accessing p_lcb must be guarded with NULL check.

Bug: 31442085
Change-Id: I0f6e3f8e0247c5e8946c4d098f8a3ba442f5fb28
(cherry picked from commit b4458c93d5b5d7e2c103166d71daff560ee1a978)
stack/l2cap/l2c_ble.c