Commit e7ac6b20 authored by multrus's avatar multrus
Browse files

Merge branch 'float-1536-msan-use-of-uninitialized-value-in-core_enc_2div-c-243-5' into 'main'

Resolve "MSAN: use-of-uninitialized-value in core_enc_2div.c:243:5"

See merge request !2552
parents 3d4491b5 bc7782cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@
#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR      /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED              /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR.  */
#define FIX_FLOAT_1535_ARI_RES_Q_CLEANUP                /* FhG: remove dead code from tcx_ari_res_Q_spec() */
#define FIX_FLOAT_1536_INIT_NO_PARAM_LPC                /* FhG: make sure no_param_lpc is initialized in core_encode_twodiv() */

/* #################### End BE switches ################################## */

+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ void core_encode_twodiv(
    set_s( tnsSize, 0, 2 );
    set_s( tnsBits, 0, 2 );
    ltpBits = 0;
#ifdef FIX_FLOAT_1536_INIT_NO_PARAM_LPC
    no_param_lpc = 0;
#endif

    for ( i = 0; i < 3; i++ )
    {