Skip to content

Resolve "UBSAN: member access within null pointer of type 'struct ivas_spar_dec_lib_t' in MASA decoder setup"

Related to #613 (closed)

In ivas_dirac_config() move accessing hSpar->dirac_to_spar_md_bands under a guardian checking that hSpar is non-NULL. The issue #613 (closed) was reported only for decoder, but the same potential risk exists for encoder and the same fix is applied there.

Merge request reports

Loading