Commit 35e00940 authored by vaclav's avatar vaclav
Browse files

Merge branch 'basop-2268-usan-oob-array-access-in-ifft' into 'main'

fix for 2268, to silence clang18, will add some complexity to the ifft

See merge request !2658
parents 27e69c71 a8309502
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -139,7 +139,12 @@ void ifft_rel_fx(
        /*Can be acheived with a shr */
        step = idiv1616( N_MAX_SAS, n2 );
        move16();

#ifdef FIX_2268_OOB_INDEXING_IN_IFFT
        IF( LT_16( n8, 2 ) )
        {
            continue;
        }
#endif
        s = sincos_t_fx + step;                /*Q15 */
        c = s + 64;                            /*Q15 */
        s3 = sincos_t_fx + i_mult2( step, 3 ); /*Q15 */
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@
#define FIX_2278_OOB_INDEXING_IN_CLOSED_LOOP_PIT_SEARCH /* FhG: fix oob indexing USAN complaint */
#define FIX_2287_MCT_MDCT_STEREO_DATA_MALLOC_SIZE       /* FhG: correct allocation size for STEREO_MDCT_DEC_DATA struct */
#define FIX_1904_HARM_GSC_ENC                           /* VA: #1904 Harmonization of EVS and IVAS GSC code */
#define FIX_2268_OOB_INDEXING_IN_IFFT                   /* VA: Fix for issue 2268, to silence clang18 */
#define FIX_2271_OOB_INDEXING_IN_PIT_OL2                /* VA: Fix for issue 2271, to silence clang18 */
#define FIX_2273_OOB_INDEXING_IN_PIT_FR4                /* VA: Fix to silence clang on ptr init */
#define FIX_1449_RENDERER_FRAME_SIZE_UNCLEAR_IN_ISAR    /* Dolby: Fix for issue 1449: renderer frame size unclear in ISAR */