Commit 0795f2db authored by norvell's avatar norvell
Browse files

Merge branch...

Merge branch 'float-1480-clang18-msan-use-of-uninitialized-value-in-lib_dec-hq_hr_dec-c-284-5' into 'main'

Resolve issue 1480: clang-18 MSAN error in HQ decoder - basop

See merge request !2677
parents 6682266e 8287d628
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -105,6 +105,7 @@
#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_1480_CLANG18_MSAN_UNINIT_VARIABLE           /* Eri: Initializes a variables in HQ decoder. It is not used, but is passed uninitialized to a function which is caught by clang-18 */
#define FIX_1449_RENDERER_FRAME_SIZE_UNCLEAR_IN_ISAR    /* Dolby: Fix for issue 1449: renderer frame size unclear in ISAR */
#define FIX_1872_REMOVE_UNUSED_PSNOISEGEN_ISAR              /* Dolby: Remove unused psNoiseGen from ISAR */
#define FIX_1478_UNINIT_ON_BFI                          /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */
+4 −1
Original line number Diff line number Diff line
@@ -166,7 +166,10 @@ void ivas_hq_hr_dec_fx(
    Word16 csw_flag1, csw_flag2;

    HQ_DEC_HANDLE hHQ_core = st_fx->hHQ_core;

#ifdef FIX_1480_CLANG18_MSAN_UNINIT_VARIABLE
    hq_generic_offset = 0;
    move16();
#endif
    move16();
    move16();