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

Commit b6617aef authored by Dan Austin's avatar Dan Austin
Browse files

Disable integer sanitization checks for L_add function, which

performs controlled integer overflows.

Bug: 23752600
Change-Id: Idffc9b93ff447c0db6434f83572bc6ec5edc10b6
parent 6c4cf7fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ extern "C"
     Returns:
        L_sum = 32-bit sum of L_var1 and L_var2 (Word32)
    */
    __attribute__((no_sanitize("integer")))
    static inline Word32 L_add(Word32 L_var1, Word32 L_var2, Flag *pOverflow)
    {
        Word32 L_sum;