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

Git pushed a commit to branch master
in repository ffmpeg.

commit a8d0a523e0ede3596b05cb45ccec283cb0a67048
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Oct 10 06:48:33 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 12 23:55:55 2026 +0000

    avformat/asfdec_o: reject Simple Index Objects whose size does not fit an 
int64
    
    Timeout Replicated through API
    
    Fixes: Timeout
    Fixes: 
472415045/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-5931601155653632
    Fixes: nsrEzoEJYM73
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/asfdec_o.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c
index f3d3d06891..4961c1617a 100644
--- a/libavformat/asfdec_o.c
+++ b/libavformat/asfdec_o.c
@@ -841,7 +841,7 @@ static int asf_read_simple_index(AVFormatContext *s, const 
GUIDParseTable *g)
     int64_t offset;
     uint64_t size = avio_rl64(pb);
 
-    if (size < 24)
+    if (size < 24 || size > INT64_MAX)
         return AVERROR_INVALIDDATA;
 
     // simple index objects should be ordered by stream number, this loop 
tries to find

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to