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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 01ce3d4d4f avcodec/mimic: carry the pinned block grid across frame 
threads
01ce3d4d4f is described below

commit 01ce3d4d4fea2ed74cafe97775c3cc1bb05aba83
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Sep 19 22:16:35 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Sep 28 03:41:46 2026 +0000

    avcodec/mimic: carry the pinned block grid across frame threads
    
    Fixes: heap-buffer-overflow write
    Fixes: F3EGBYxEoA9T
    Fixes: ANT-2026-A02CF8FP
    Found-by: Anthropic using Claude, verified by Ada Logics
---
 libavcodec/mimic.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index 08e250961e..e9ed1a9b7c 100644
--- a/libavcodec/mimic.c
+++ b/libavcodec/mimic.c
@@ -152,6 +152,12 @@ static int 
mimic_decode_update_thread_context(AVCodecContext *avctx, const AVCod
     dst->cur_index  = src->next_cur_index;
     dst->prev_index = src->next_prev_index;
 
+    if (src->avctx) {
+        dst->avctx = avctx;
+        memcpy(dst->num_vblocks, src->num_vblocks, sizeof(dst->num_vblocks));
+        memcpy(dst->num_hblocks, src->num_hblocks, sizeof(dst->num_hblocks));
+    }
+
     for (int i = 0; i < FF_ARRAY_ELEMS(dst->frames); i++) {
         ff_progress_frame_unref(&dst->frames[i]);
         if (i != src->next_cur_index && src->frames[i].f)

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