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

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

commit caf5fdff494eaa0bd1f75de532d34db693c1531c
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Jul 30 01:41:17 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Aug 2 02:47:33 2026 +0200

    avcodec/vulkan/ffv1_dec_setup: bound the fltmap write
    
    (cherry picked from commit 946272b79a325e9bce613b260e50e4e4fe7f3159)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/vulkan/ffv1_dec_setup.comp.glsl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl 
b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
index 5a648f4605..72df03874a 100644
--- a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
+++ b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
@@ -135,6 +135,8 @@ bool decode_remap(uint slice_idx, inout SliceContext sc)
                 }
                 if (i - 1 >= int64_t(end))
                     break;
+                if (j >= fltmap[slice_idx][p].length())
+                    return true;
                 uint iv = uint(i);
                 fltmap[slice_idx][p][j++] = iv ^ (((iv & flip_mask) != 0u) ? 
0u : flip);
                 i++;

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

Reply via email to