Skip to content

Initialize f->lf.level during allocation to prevent uninitialized memory usage

Jordan M requested to merge montytyper/dav1d:initialise_lf_level into master

Test case in Issue #131 (closed) reveals a separate use of uninitialized array on WSL with GCC 8.1. Initializing when we allocate the array will fix uninitialized usage on all codepaths. Valgrind screenshot of issue and stack trace

Merge request reports