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

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

commit a0cd1244ca6b9424f0806c533db8bc52dd752f1e
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Jul 3 04:47:13 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 14:26:50 2026 +0200

    avformat/wavdec: fix integer overflow in W64 chunk size check
    
    Fixes: 
523658585/clusterfuzz-testcase-minimized-ffmpeg_dem_W64_fuzzer-5454488994643968
    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 3b28a08a32c3599410c7f7cd3c1032c58f34dbe0)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/wavdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 9673ac05f4..3adac642dc 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -906,7 +906,7 @@ static int w64_read_header(AVFormatContext *s)
         if (avio_read(pb, guid, 16) != 16)
             break;
         size = avio_rl64(pb);
-        if (size <= 24 || INT64_MAX - size < avio_tell(pb)) {
+        if (size <= 24 || INT64_MAX - size - 7 < avio_tell(pb)) {
             if (data_ofs)
                 break;
             return AVERROR_INVALIDDATA;

-- 
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