This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit fc4d43018fd92611abd2f80904ed8bda0cf00cd7 Author: ASTRA <[email protected]> AuthorDate: Thu Apr 23 21:58:27 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 15:57:27 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 56f24bb8fb..7f940d75fc 100644 --- a/libavformat/vividas.c +++ b/libavformat/vividas.c @@ -588,7 +588,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]
