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

Git pushed a commit to branch release/7.1
in repository ffmpeg.

commit 3faa8b9cc07ffd0e2a1891e49bddd87c64304c09
Author:     Nuo Mi <[email protected]>
AuthorDate: Mon Oct 14 23:25:32 2024 +0800
Commit:     Frank Plowman <[email protected]>
CommitDate: Wed Jun 10 15:12:20 2026 +0100

    avcodec/vvc/thread: Check frame to be non NULL
    
    Fixes: NULL pointer dereference
    Fixes: 
71303/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-4875859050168320
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reported-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit b61141056939acfd67e51dbd05c2c8c729d6b31b)
---
 libavcodec/vvc/dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c
index edf2607f50..522fa8416e 100644
--- a/libavcodec/vvc/dec.c
+++ b/libavcodec/vvc/dec.c
@@ -1000,7 +1000,7 @@ static int vvc_decode_frame(AVCodecContext *avctx, 
AVFrame *output,
     if (ret < 0)
         return ret;
 
-    if (!fc->ft)
+    if (!fc->ft || !fc->ref)
         return avpkt->size;
 
     ret = submit_frame(s, fc, output, got_output);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to