This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/9.0
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/9.0 by this push:
new 529f1ddf4d avcodec/mvcdec: zero-initialize color array
529f1ddf4d is described below
commit 529f1ddf4d785ea62fdfc77c62b46cfc611202ac
Author: Marvin Scholz <[email protected]>
AuthorDate: Wed Oct 21 00:32:03 2026 +0000
Commit: ffmpeg-devel <[email protected]>
CommitDate: Wed Oct 21 19:08:12 2026 +0000
avcodec/mvcdec: zero-initialize color array
Fixes MSAN use-of-uninitialized-value.
Signed-off-by: Marvin Scholz <[email protected]>
(cherry picked from commit 3a5eb948e76dc6390e4b3cff7becf84bc492b7af)
---
libavcodec/mvcdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mvcdec.c b/libavcodec/mvcdec.c
index 44cab1889b..a438c8a2a2 100644
--- a/libavcodec/mvcdec.c
+++ b/libavcodec/mvcdec.c
@@ -138,7 +138,7 @@ static int decode_mvc2(AVCodecContext *avctx,
GetByteContext *gb,
int linesize, int vflip)
{
uint8_t *dst;
- uint32_t color[128], v[8];
+ uint32_t color[128] = {0}, v[8];
int w, h, nb_colors, i, x, y, p0, p1, mask;
if (bytestream2_get_bytes_left(gb) < 6)
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]