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 60e8e42e957cd1d8fb4cae2f498f731b8ce49467 Author: Kacper Michajłow <[email protected]> AuthorDate: Wed Aug 7 16:09:20 2024 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 21 02:56:26 2026 +0200 avformat/mov: ensure required number of bytes is read Fixes: use-of-uninitialized-value Found by OSS-Fuzz. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit b534e402d8c45f22feafe70d6b7d1c5a48c4d411) Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit ae7d4e53eb41200d8a91bd2470f7570dcb4a2c53) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 330d38cbef..17e52fede5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -6150,7 +6150,7 @@ static int mov_read_free(MOVContext *c, AVIOContext *pb, MOVAtom atom) if (atom.size < 8) return 0; - ret = avio_read(pb, content, FFMIN(sizeof(content), atom.size)); + ret = ffio_read_size(pb, content, FFMIN(sizeof(content), atom.size)); if (ret < 0) return ret; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
