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 877f6092339ad69cd28228780fca6a43f1d9ae9d
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Nov 3 02:15:38 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 02:43:34 2026 +0100

    avcodec/takdec: require the multichannel channel list to cover all channels
    
    Use of uninitialized memory Replicated through UnModified FFmpeg with MSAN
    
    Fixes: use of uninitialized memory
    Fixes: aWhU4kuts0tn
    Fixes: AISLE-2026-0150-00040
    
    Found-by: Joshua Rogers (AISLE)
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 01e1bb126179879201429952cc2dcaea0d50d603)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/takdec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index ff77c3bfc6..2f18ff77f2 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -835,6 +835,10 @@ static int tak_decode_frame(AVCodecContext *avctx, AVFrame 
*frame,
 
                     ch_mask |= 1 << nbit;
                 }
+                if (ch_mask != (1 << avctx->ch_layout.nb_channels) - 1) {
+                    avpriv_request_sample(avctx, "Channel list not covering 
all channels");
+                    return AVERROR_PATCHWELCOME;
+                }
             } else {
                 chan = avctx->ch_layout.nb_channels;
                 for (i = 0; i < chan; i++) {

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