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

Commit 8242a57e authored by Pratik Kathalkar's avatar Pratik Kathalkar Committed by Shunkai Yao
Browse files

Avoid Android's CFI feature induced crash at runtime in audio flinger's effects chain.



Summary:
An occasional crash is observed while exercising special effects
suspend session.
A feature checks for strict function pointer types at runtime on
static analysis of conditional code path, and if it finds a
violation, it induces a crash. This fix separates the two
steps and avoids a null object dereferencing.

Flag: EXEMPT bugfix
Bug: 414929111
Bug: 414842429
Test: Successful Build on master branch

Change-Id: Id32f9ed502c54a768e73e4fae0d1aeced8c431bd
Signed-off-by: default avatarPratik Kathalkar <pkathalk@meta.com>
parent 4b1286de
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