Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d67cbe96 authored by Pomai Ahlo's avatar Pomai Ahlo
Browse files

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
parent ed75f079
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment