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

Commit cdd878b3 authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

Merge "Disable integer overflow sanitization in select functions."

am: ab8685d9

* commit 'ab8685d9':
  Disable integer overflow sanitization in select functions.
parents cb0f20a3 ab8685d9
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;