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

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

Fix overflow sanitizer in Visualizer_command.

There's an intended integer overflow in the Visualizer_command function.
This refactors it to use the builtin overflow-safe function.

 runtime error: unsigned integer overflow: 1664 - 4048 cannot be
 represented in type 'unsigned int'

Bug: 30969751
Test: Builds and boots.
Change-Id: I63a505f4b073480f52d0b073ec5e45c52212caa8
Merged-In: I63a505f4b073480f52d0b073ec5e45c52212caa8
(cherry picked from commit 612d8fcb)
parent 46d5355a
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