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 681fdb1f76f2ad26d3e0585caebf4e600fff8f0a
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Nov 11 17:55:16 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 04:36:59 2026 +0100

    fftools/ffmpeg_filter: do not use a fallback frame that was not allocated
    
    Fixes: NULL pointer dereference
    Fixes: avif/gain_map_alpha_grid.avif without an AV1 software decoder
    Fixes: fsm1bknlI5TP
    
    Found-by: Onur Tirtir <[email protected]>
    
    The crash is mentioned in https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25917
    This is not a security issue.
    
    NULL pointer dereference Replicated through UnModified FFmpeg
    
    (cherry picked from commit 6a598a0152c65f2385d0f483d5e30957efbee68a)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 fftools/ffmpeg_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index c52371e16f..6c0cc111ff 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -3178,7 +3178,7 @@ static int send_eof(FilterGraphThread *fgt, InputFilter 
*ifilter,
         if (ret < 0)
             return ret;
     } else {
-        if (ifp->format < 0) {
+        if (ifp->format < 0 && ifp->opts.fallback) {
             // the filtergraph was never configured, use the fallback 
parameters
             ifp->format                 = ifp->opts.fallback->format;
             ifp->sample_rate            = ifp->opts.fallback->sample_rate;

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