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

Skip to content
Commit b00c8905 authored by Satish Kodishala's avatar Satish Kodishala
Browse files

Return if sBluetoothHfpInterface pointer is NULL

Usecase:
During HFP initialisation.

Failure:
NULL pointer dereferencing, might cause crash

Rootcause:
Pointer 'sBluetoothHfpInterface' checked for NULL
and is dereferenced later.

Fix:
Check if the sBluetoothHfpInterface pointer is NULL
and return from initializeNative API before
dereferencing the pointer.

Fixes: 110066199
Change-Id: I99a159d9a2062b64689b6b0f694732d08fb7bd44
parent a47c8e58
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