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

Skip to content
Commit 0926c0a7 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Check rcb is released

When BT is disabled, a race condition can
occur between the release of a registration
control block (RCB) and an attempt to access it.
This can lead to accessing deallocated memory.

This change resolves the issue by checking if
the RCB is still valid before accessing it.

Bug: 377818132
Flag: Exempt, strict checking
Test: atest BumbleBluetoothTests
Change-Id: I63cc4312d544ac6b4dee4b155b18a7aa1f44f794
parent f276b177
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