This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 6023ad715c29a353930f1c5efeecb8aa509a4df6 Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Mar 4 01:26:02 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Fri Mar 6 23:32:22 2026 +0100 avformat/mlvdec: avoid uninitialized read in read_string() Fixes: read of uninitialized memory Fixes: 488256339/clusterfuzz-testcase-minimized-ffmpeg_dem_MLV_fuzzer-6347338118660096 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/mlvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 3a5d211085..fa35bc9c45 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -97,7 +97,7 @@ static void read_string(AVFormatContext *avctx, AVIOContext *pb, const char *tag } ret = avio_read(pb, value, size); - if (ret != size || !value[0]) { + if (ret != size || !size || !value[0]) { av_free(value); return; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
