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

Skip to content
Commit cd4a011d authored by Ivan Lozano's avatar Ivan Lozano
Browse files

Fix audioflinger in overflow sanitized builds.

The loop as constructed in Track::triggerEvents potentially leads to
two unsigned integer overflows on the i = 0 loop.

This refactors the loop to prevent the overflow.

Bug: 30969751
Test: Compiles and device boots.
Change-Id: I7ac3223ab3197f5c475a4d09c99e6f05d0ddb208
Merged-In: I7ac3223ab3197f5c475a4d09c99e6f05d0ddb208
parent 240201e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment