Basop 2264 out of bound reading in log2 norm lc [non-BE]
- Related issues: #2264 (closed)
- Requested reviewers:
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 arraysL_table_Log2_norm_lc[]andtable_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_lcin 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.