This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit c9cf8cf9c370d515665df434198173d9687075c2 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Feb 6 03:27:20 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Mar 15 00:49:55 2026 +0100 avcodec/aom_film_grain: avoid duplicate indexes in ff_aom_parse_film_grain_sets() Fixes: use after free Fixes: 478301106/clusterfuzz-testcase-minimized-ffmpeg_dem_HEVC_fuzzer-6155792247226368 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit ebb6ac1bc7a6124ab130d9b4e679452ac94cde92) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/aom_film_grain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/aom_film_grain.c b/libavcodec/aom_film_grain.c index a5b692562d..5919d99c30 100644 --- a/libavcodec/aom_film_grain.c +++ b/libavcodec/aom_film_grain.c @@ -152,8 +152,9 @@ int ff_aom_parse_film_grain_sets(AVFilmGrainAFGS1Params *s, payload_4byte = get_bits1(gb); payload_size = get_bits(gb, payload_4byte ? 2 : 8); set_idx = get_bits(gb, 3); + fgp = av_film_grain_params_alloc(&fgp_size); - if (!fgp) + if (!fgp || s->sets[set_idx]) goto error; aom = &fgp->codec.aom; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
