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 08e6bf232d4c3a03890e62db36f6e55a0df5acbc
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Nov 14 01:57:50 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 14:55:53 2026 +0100

    avfilter/vf_deflicker: allocate the histogram for all 16 bit sample values
    
    Fixes: out of array write
    Fixes: QvFnGUZttUck
    Fixes: AISLE-2026-0166-00061
    
    Found-by: berrob14 (#24121)
    Found-by: Joshua Rogers (AISLE)
    
    Out of array write Replicated through UnModified FFmpeg with ASAN
    
    (cherry picked from commit fa10042f748f20fad0cc0ee8fdcebe96b76603af)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_deflicker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_deflicker.c b/libavfilter/vf_deflicker.c
index 38f838f088..8bab1211c2 100644
--- a/libavfilter/vf_deflicker.c
+++ b/libavfilter/vf_deflicker.c
@@ -333,7 +333,7 @@ static int config_input(AVFilterLink *inlink)
         s->calc_avgy = calc_avgy16;
     }
 
-    s->histogram = av_calloc(1 << s->depth, sizeof(*s->histogram));
+    s->histogram = av_calloc(1 << (s->depth > 8 ? 16 : 8), 
sizeof(*s->histogram));
     if (!s->histogram)
         return AVERROR(ENOMEM);
 

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