This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/9.1
in repository ffmpeg.

commit 6d2e6a119e8e7a0c46de2ce7855c31f2a2538acf
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Nov 3 04:25:47 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 02:42:25 2026 +0100

    avcodec/gemdec: clear the row buffer before decoding
    
    Fixes: pqQviaXoqzKF
    Fixes: AISLE-2026-0150-00236
    Fixes: use of uninitialized memory
    Use of uninitialized memory Replicated through UnModified FFmpeg with MSAN
    
    Found-by: Joshua Rogers (AISLE)
    (cherry picked from commit e578999fa3c5f7efac1ea70bb7c2a7682013c7c9)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/gemdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/gemdec.c b/libavcodec/gemdec.c
index 07f01a24a1..62907f528a 100644
--- a/libavcodec/gemdec.c
+++ b/libavcodec/gemdec.c
@@ -259,6 +259,7 @@ static int gem_decode_frame(AVCodecContext *avctx, AVFrame 
*p,
     if (ret < 0)
         return ret;
     row = avctx->priv_data;
+    memset(row, 0, planes * row_width);
 
     memset(p->data[0], 0, avctx->height * p->linesize[0]);
     b = buf + header_size * 2;

-- 
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]

Reply via email to