summaryrefslogtreecommitdiff
path: root/system/common/metrics.h
diff options
context:
space:
mode:
author Pomai Ahlo <poahlo@google.com> 2025-03-12 20:44:18 +0000
committer Pomai Ahlo <poahlo@google.com> 2025-03-12 21:22:14 +0000
commitd67cbe96a63aeb9e7ecbec84c0040a822f9f7109 (patch)
treeb5dadab738cd279299cf1b87eba55465e1dc423f /system/common/metrics.h
parented75f079e771397a5e0bd0570f04a28700fea2c8 (diff)
Fail PORT_GetChannelInfo when p_mcb is null
There is a case where the multiplexer is shut down and PORT_CLOSED is processed before BTA_JV_RFCOMM_CLOSE_EVT. In this case, PORT_GetChannelInfo should fail to prevent null pointer dereference. Bug: 400636306 Test: m com.android.bt Flag: EXEMPT adding null check and log Change-Id: If6efb16cadc28a710465046886a9f6680fa95a8c
Diffstat (limited to 'system/common/metrics.h')
0 files changed, 0 insertions, 0 deletions