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

Git pushed a commit to branch master
in repository ffmpeg.

commit bc46eab87c4f18498bc4ac4c426c1ec0fd231a3f
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Sep 7 04:59:11 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Sep 16 19:04:12 2026 +0000

    avcodec/vvc/thread: clear fc->ft when the frame thread is freed
    
    Fixes: use after free / double free
---
 libavcodec/vvc/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vvc/thread.c b/libavcodec/vvc/thread.c
index a80ec773cd..77269ba65d 100644
--- a/libavcodec/vvc/thread.c
+++ b/libavcodec/vvc/thread.c
@@ -707,7 +707,7 @@ void ff_vvc_frame_thread_free(VVCFrameContext *fc)
     ff_cond_destroy(&ft->cond);
     av_freep(&ft->rows);
     av_freep(&ft->tasks);
-    av_freep(&ft);
+    av_freep(&fc->ft);
 }
 
 static void frame_thread_init_score(VVCFrameContext *fc)

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