Re: [FFmpeg-devel] [PATCH] avcodec/vvc/dec: fix possible null-pointer dereference

2025-06-12 Thread Nuo Mi
On Thu, Jun 12, 2025 at 1:53 AM Marvin Scholz < epirat07-at-gmail@ffmpeg.org> wrote: > When checking for filmgrain here, needs_fg can be true even when > film_grain_characteristics is NULL (when aom_film_grain.enable is true), > therefore this check could end up dereferencing film_grain_charac

[FFmpeg-devel] [PATCH] avcodec/vvc/dec: fix possible null-pointer dereference

2025-06-11 Thread Marvin Scholz
When checking for filmgrain here, needs_fg can be true even when film_grain_characteristics is NULL (when aom_film_grain.enable is true), therefore this check could end up dereferencing film_grain_characteristics even though it is NULL. Fix CID 1648347 --- libavcodec/vvc/dec.c | 3 ++- 1 file cha