Skip to content

Basop 2264 out of bound reading in log2 norm lc [non-BE]

Reason why this change is needed

  • The function Log2_norm_lc() reads for certain input values (e.g. L_x == 0) out of bounds, i.e. accesses the arrays L_table_Log2_norm_lc[] and table_diff_Log2_norm_lc[] at position -32.

    This might lead to undeterministic behavior.

Description of the change

  • Correcting the safeguard inside Log2_norm_lc
  • Adding missing normalisation to the call of Log2_norm_lc in swb_pre_proc_ivas_fx()

Affected operating points

  • Will affect operating point where IVAS_CPE_DFT is used
  • Produced bitstream is non-BE but it is fully backwards compatible for decoding. Decoded output may differ.

Merge request reports

Loading