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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 4b83833087 avformat/wsddec: Use ffio_read_size() in get_metadata()
4b83833087 is described below

commit 4b83833087245910ed00b0f277e7b08b90b6611e
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Mar 16 13:08:53 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon Mar 16 15:51:53 2026 +0100

    avformat/wsddec: Use ffio_read_size() in get_metadata()
    
    Fixes: use of uninitialized memory
    Fixes: 
492587173/clusterfuzz-testcase-minimized-ffmpeg_dem_WSD_fuzzer-6596163492184064
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/wsddec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wsddec.c b/libavformat/wsddec.c
index f36c254621..8bf9e98b91 100644
--- a/libavformat/wsddec.c
+++ b/libavformat/wsddec.c
@@ -82,7 +82,7 @@ static int get_metadata(AVFormatContext *s, const char *const 
tag, const unsigne
     if (!buf)
         return AVERROR(ENOMEM);
 
-    if ((ret = avio_read(s->pb, buf, size)) < 0) {
+    if ((ret = ffio_read_size(s->pb, buf, size)) < 0) {
         av_free(buf);
         return ret;
     }

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

Reply via email to