This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit cb92c58c41c482d5d007ec29daf216f2224c7502 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Mar 13 00:51:14 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 18:55:08 2026 +0200 avcodec/exr: Check input space before reverse_lut() Fixes: use of uninitialized memory Fixes: 490707906/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_DEC_fuzzer-6310933506097152 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 70286d59f1bd413009c28dea22ab69649fa87490) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/exr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 280bb16936..b206dacebe 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -630,6 +630,9 @@ static int piz_uncompress(EXRContext *s, const uint8_t *src, int ssize, max_non_zero - min_non_zero + 1); memset(td->bitmap + max_non_zero + 1, 0, BITMAP_SIZE - max_non_zero - 1); + if (bytestream2_get_bytes_left(&gb) < 4) + return AVERROR_INVALIDDATA; + maxval = reverse_lut(td->bitmap, td->lut); bytestream2_skip(&gb, 4); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
