Commit 8174126e authored by vaclav's avatar vaclav
Browse files

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

basop-2268-usan-oob-array-access-in-ifft

See merge request !2465
parents a9612f73 d5d60d3e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -130,7 +130,12 @@ void ifft_rel(
            id = 4 * id;
        }
        step = N_MAX_FFT / n2;

#ifdef FIX_2268_OOB_INDEXING_IN_IFFT
        if ( n8 < 2 )
        {
            continue;
        }
#endif
        s = sincos_t_ext + step;
        c = s + N_MAX_FFT / 4;
        s3 = sincos_t_ext + 3 * step;
+1 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@
#define FIX_2274_OOB_INDEXING_IN_CORRMATRIX             /* FhG: fix OOB indexing complaint */
#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_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 */