This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit cfec5a89322cb757ef5aad5f14f40b3c2e09079a Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Feb 21 02:05:03 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 15:57:13 2026 +0200 avcodec/exr: check tile_attr.x/ySize Fixes: division by zero Fixes: 473579863/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_DEC_fuzzer-5105281257504768 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 c5ccc13fe047f4588a3100d9eb7e6b4c22b09a6c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/exr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 422cd23778..e737e6536e 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -2213,6 +2213,8 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture, } if (s->is_tile) { + if (s->tile_attr.ySize <= 0 || s->tile_attr.xSize <= 0) + return AVERROR_INVALIDDATA; nb_blocks = ((s->xdelta + s->tile_attr.xSize - 1) / s->tile_attr.xSize) * ((s->ydelta + s->tile_attr.ySize - 1) / s->tile_attr.ySize); } else { /* scanline */ _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
