PR #23295 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23295 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23295.patch
Fixes: 494958338/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-6265824670449664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> >From ecefe1058e183505c773f61094bb85414968a965 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <[email protected]> Date: Sun, 31 May 2026 04:39:28 +0200 Subject: [PATCH] avformat/iff: check av_get_packet() result in ANIM branch Fixes: 494958338/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-6265824670449664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/iff.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/iff.c b/libavformat/iff.c index 8dccd58b35..74362d29f2 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -993,6 +993,8 @@ static int iff_read_packet(AVFormatContext *s, return AVERROR_EOF; ret = av_get_packet(pb, pkt, data_size); + if (ret < 0) + return ret; pkt->stream_index = iff->video_stream_index; pkt->pos = orig_pos; pkt->duration = get_anim_duration(pkt->data, pkt->size); -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
