diff options
author | 2025-03-12 20:44:18 +0000 | |
---|---|---|
committer | 2025-03-12 21:22:14 +0000 | |
commit | d67cbe96a63aeb9e7ecbec84c0040a822f9f7109 (patch) | |
tree | b5dadab738cd279299cf1b87eba55465e1dc423f /system/common/metrics.h | |
parent | ed75f079e771397a5e0bd0570f04a28700fea2c8 (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