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

Commit ab8685d9 authored by Dan Austin's avatar Dan Austin Committed by Gerrit Code Review
Browse files

Merge "Disable integer overflow sanitization in select functions."

parents d0f8fa38 488d3706
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -527,6 +527,9 @@ Int getBlockSAV(Short block[])
/*  Modified :                                                              */
/*      8/15/01,  - do 4 pixel at a time    assuming 32 bit register        */
/* ======================================================================== */
#ifdef __clang__
__attribute((no_sanitize("integer")))
#endif
Int Sad8x8(UChar *cur, UChar *prev, Int width)
{
    UChar *end = cur + (width << 3);
@@ -590,7 +593,9 @@ Int Sad8x8(UChar *cur, UChar *prev, Int width)
/*  Modified :                                                              */
/*          8/15/01,  - SIMD 4 pixels at a time                         */
/* ======================================================================== */

#ifdef __clang__
__attribute((no_sanitize("integer")))
#endif
Int getBlockSum(UChar *cur, Int width)
{
    Int sad = 0, sum4 = 0, sum2 = 0;