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

Git pushed a commit to branch master
in repository ffmpeg.

commit d9c9bebe78fb6375e66e1e8d4df460114d28390e
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Oct 12 02:16:17 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 02:25:09 2026 +0000

    avfilter/af_sofalizer: check the IR length against the IR data
    
    Fixes: out of array read
    Fixes: 65nc8s5OIq4Z
    Regression since: 4096c670ab
    Found during triage of the review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24624
    Out of array read Replicated through UnModified FFmpeg with ASAN
---
 libavfilter/af_sofalizer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
index e1670d08e7..91bc4d0305 100644
--- a/libavfilter/af_sofalizer.c
+++ b/libavfilter/af_sofalizer.c
@@ -153,7 +153,7 @@ static int preload_sofa(AVFilterContext *ctx, char 
*filename, int *samplingrate)
         return ret;
     }
 
-    if (!mysofa->N) {
+    if (!mysofa->N || !mysofa->M || mysofa->DataIR.elements / mysofa->M / 
mysofa->R < mysofa->N) {
         av_log(ctx, AV_LOG_ERROR, "Selected SOFA file has inconsistent 
dimensions.\n");
         return AVERROR_INVALIDDATA;
     }

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