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 38d981231e372d5bd7c41744ea47cb982b44b454 Author: ASTRA <[email protected]> AuthorDate: Thu Apr 23 21:58:27 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 15:21:17 2026 +0200 avformat/vividas: use-of-uninitialized-value in keybuffer Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 26732641fb6efae821baa2bdd929e2b8a189219c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/vividas.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/vividas.c b/libavformat/vividas.c index d066ee16d6..ce5b88ab32 100644 --- a/libavformat/vividas.c +++ b/libavformat/vividas.c @@ -584,7 +584,9 @@ static int viv_read_header(AVFormatContext *s) block_type = avio_r8(pb); if (block_type == 22) { - avio_read(pb, keybuffer, 187); + ret = ffio_read_size(pb, keybuffer, 187); + if (ret < 0) + return ret; b22_key = decode_key(keybuffer); b22_size = avio_rl32(pb); } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
