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

Git pushed a commit to branch master
in repository ffmpeg.

commit fa10042f748f20fad0cc0ee8fdcebe96b76603af
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Nov 14 01:57:50 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Thu Nov 19 01:11:41 2026 +0000

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