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

Git pushed a commit to branch master
in repository ffmpeg.

commit 24ad423d908cd595c983b6c503ddb0ee94901ba2
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Nov 14 05:23:08 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Tue Nov 17 23:22:10 2026 +0000

    avfilter/vf_deband: reject the coupling command for subsampled formats
    
    Fixes: out of array access
    Fixes: QJKTLuAvDBVR
    Fixes: AISLE-2026-0166-00123
    
    Found-by: Joshua Rogers (AISLE)
    
    Out of array read and write Replicated through UnModified FFmpeg with ASAN
---
 libavfilter/vf_deband.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavfilter/vf_deband.c b/libavfilter/vf_deband.c
index 2ff4fca6fa..6dd08dd10f 100644
--- a/libavfilter/vf_deband.c
+++ b/libavfilter/vf_deband.c
@@ -438,11 +438,18 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
 static int process_command(AVFilterContext *ctx, const char *cmd, const char 
*args,
                            char *res, int res_len, int flags)
 {
+    DebandContext *s = ctx->priv;
     int ret = ff_filter_process_command(ctx, cmd, args, res, res_len, flags);
 
     if (ret < 0)
         return ret;
 
+    if (s->coupling && (s->shift[0] || s->shift[1])) {
+        av_log(ctx, AV_LOG_ERROR, "coupling needs a pixel format without 
chroma subsampling\n");
+        s->coupling = 0;
+        return AVERROR(EINVAL);
+    }
+
     return config_input(ctx->inputs[0]);
 }
 

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