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 9f363dd22dd16a0be9f0643989402c25089f6288
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Jul 30 01:40:49 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Aug 2 02:47:33 2026 +0200

    avcodec/ffv1dec: reject a remap that produces zero entries
    
    (cherry picked from commit 56743898d214decccf219aea4233da7aca9dc71c)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/ffv1dec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index ccafc71872..8de15d2476 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -369,6 +369,8 @@ static int decode_remap(FFV1Context *f, FFV1SliceContext 
*sc)
             }
             lu ^= !run;
         }
+        if (!j)
+            return AVERROR_INVALIDDATA;
         sc->remap_count[p] = j;
     }
     return 0;

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

Reply via email to