This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/8.0
in repository ffmpeg.

commit 4b2884eb3d8ac2b4aa22b64b4f0ee1f0e9956c28
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun May 31 04:39:28 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Jun 14 04:59:06 2026 +0200

    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]>
    (cherry picked from commit 43f712d9172888e31d0edfdb91a89cf8ec440274)
    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 597d150f25..bd7df349dc 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -991,6 +991,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);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to