This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 26732641fb avformat/vividas: use-of-uninitialized-value in keybuffer
26732641fb is described below
commit 26732641fb6efae821baa2bdd929e2b8a189219c
Author: ASTRA <[email protected]>
AuthorDate: Thu Apr 23 21:58:27 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Sat May 2 21:16:19 2026 +0000
avformat/vividas: use-of-uninitialized-value in keybuffer
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 76d65518ba..9617b10c0a 100644
--- a/libavformat/vividas.c
+++ b/libavformat/vividas.c
@@ -589,7 +589,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]