This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/5.1 in repository ffmpeg.
commit 059fe30d550996f6244fcd7e6016621854c357c9 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Feb 8 00:19:12 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 15:21:01 2026 +0200 avformat/scd: Use ffio_read_size() Fixes: use of uninitialized memory Fixes: 471771529/clusterfuzz-testcase-minimized-ffmpeg_dem_SCD_fuzzer-5328203515494400 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 a5007428e853c5a61e4ac3c6e24fa0304c3d0c1e) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/scd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/scd.c b/libavformat/scd.c index 91b2262ff7..6dae2ad3f1 100644 --- a/libavformat/scd.c +++ b/libavformat/scd.c @@ -28,6 +28,7 @@ #include "libavutil/avassert.h" #include "libavformat/internal.h" #include "avformat.h" +#include "avio_internal.h" #define SCD_MAGIC ((uint64_t)MKBETAG('S', 'E', 'D', 'B') << 32 | \ MKBETAG('S', 'S', 'C', 'F')) @@ -118,7 +119,7 @@ static int scd_read_offsets(AVFormatContext *s) SCDDemuxContext *ctx = s->priv_data; uint8_t buf[SCD_OFFSET_HEADER_SIZE]; - if ((ret = avio_read(s->pb, buf, SCD_OFFSET_HEADER_SIZE)) < 0) + if ((ret = ffio_read_size(s->pb, buf, SCD_OFFSET_HEADER_SIZE)) < 0) return ret; ctx->hdr.table0.count = AV_RB16(buf + 0); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
