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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8f48624cdb5f70996ffc2d8b17c491957a784ef2
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Oct 10 04:23:00 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 12 23:55:55 2026 +0000

    avcodec/dcadec: skip reserved speaker positions when exporting the downmix 
matrix
    
    Out of array read Replicated through UnModified FFmpeg with ASAN
    
    Fixes: out of array read
    Fixes: 
562992376/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DCA_DEC_fuzzer-6657589774188544
    Fixes: XsCYzcvQNPUj
    Regression since: 57708daf619c1de0ea25366ef11e527f292acd55
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/dcadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 927c74742c..17d8347a18 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -184,7 +184,7 @@ int ff_dca_export_downmix_matrix(AVCodecContext *avctx, 
AVFrame *frame,
     matrix_l = av_downmix_matrix_coeff(dm, 0, 0);
     matrix_r = av_downmix_matrix_coeff(dm, 1, 0);
 
-    for (int i = 0; i <= av_log2(output_mask); i++) {
+    for (int i = 0; i < DCA_SPEAKER_RSV1; i++) {
         if (!(output_mask & (1U << i)))
             continue;
 

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