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 9f383b64d13df5b0599f7469d1c31b374d2c82b9
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Nov 6 02:05:06 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 06:17:20 2026 +0100

    avfilter/vsrc_mandelbrot: skip the inner coloring when no iteration ran
    
    This is not a security issue.
    
    Fixes: out of array read
    Fixes: use of uninitialized memory
    Fixes: LPW4jFrf2FjP
    Fixes: 
swarm-Unbounded-OOB-heap-read-in-PERIOD-inner-coloring-when-maxiter-8-74e806
    
    Found-by: zhang xingxing <[email protected]>
    
    Out of array read Replicated through UnModified FFmpeg with ASAN
    Use of uninitialized memory Replicated through UnModified FFmpeg with 
Valgrind
    
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 43a53812094b5e9ffd02bfce550eb1ad8c3c372d)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vsrc_mandelbrot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 3f14f1e7f9..0d0e28e8fa 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -345,7 +345,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t 
*color, int linesize,
                     break;
                 }
             }
-            if(!c){
+            if(!c && i){
                 if(s->inner==PERIOD){
                     int j;
                     for(j=i-1; j; j--)

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