PR #25278 opened by Marvin Scholz (ePirat) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25278 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25278.patch
Fixes MSAN use-of-uninitialized-value. >From a7e94f3505348842e00d94ca78f1a850732cb67a Mon Sep 17 00:00:00 2001 From: Marvin Scholz <[email protected]> Date: Wed, 21 Oct 2026 00:32:03 +0000 Subject: [PATCH] avcodec/mvcdec: zero-initialize color array Fixes MSAN use-of-uninitialized-value. Signed-off-by: Marvin Scholz <[email protected]> --- libavcodec/mvcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mvcdec.c b/libavcodec/mvcdec.c index 44cab1889b2..a438c8a2a2e 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) -- 2.54.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
