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 84ec431a2d6526a2ffc680cfd3344164fc6aa034
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Nov 6 03:52:54 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 06:17:20 2026 +0100

    avfilter/vf_w3fdif: reject chroma planes of less than 2 lines
    
    Fixes: heap-buffer-overflow
    Fixes: QVQGy0DTFsYd
    
    Found-by: SecBuddyF, Tencent KeenLab (CodeBuddy Security)
    
    Heap out of array read Replicated through UnModified FFmpeg with ASAN
    
    (cherry picked from commit 184f89e1b4ad416bdfd795917dc356346d88f36e)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_w3fdif.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c
index 465453db25..73a8168284 100644
--- a/libavfilter/vf_w3fdif.c
+++ b/libavfilter/vf_w3fdif.c
@@ -288,6 +288,11 @@ static int config_input(AVFilterLink *inlink)
         return AVERROR(EINVAL);
     }
 
+    if (s->planeheight[1] < 2) {
+        av_log(ctx, AV_LOG_ERROR, "Video with chroma planes of less than 2 
lines is not supported\n");
+        return AVERROR(EINVAL);
+    }
+
     s->nb_planes = av_pix_fmt_count_planes(inlink->format);
     nb_threads = ff_filter_get_nb_threads(ctx);
     s->work_line = av_calloc(nb_threads, sizeof(*s->work_line));

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