OSDN Git Service

Fix null pointer dereference in HACK_acl_check_sm4
authorDowon Park <dowon.park@samsung.com>
Tue, 31 Aug 2021 08:17:32 +0000 (17:17 +0900)
committerChris Manton <cmanton@google.com>
Tue, 9 Nov 2021 01:46:19 +0000 (01:46 +0000)
commit47ed17e0abf94aede4af649a55eb4102f27e467e
tree88953970bee91a83e175aa78d031755a91318a47
parent48e95ea24cc475a64cf2ba669c0df73952ef467e
Fix null pointer dereference in HACK_acl_check_sm4

fix to return when p_acl is null to avoid null pointer dereference
problem.

Sponsor: cmanton@gmail.com
Bug: 198338740
Tag: #refactor
Test: gd/cert/run
Ignore-AOSP-First: Reliability

Change-Id: I45408a2b024dc424442bf3c2f92293b8942b54bb
Signed-off-by: Dowon Park <dowon.park@samsung.com>
stack/acl/btm_acl.cc