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

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

commit 2310f1f5d6297aa0f0acdebbc983f80d21b35fe7
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Feb 22 01:20:29 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Tue May 5 18:55:04 2026 +0200

    avcodec/vp3: Sanity check cropping
    
    Fixes: Timeout
    Fixes: 
476179563/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-5231013478596608
    
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 228b846407a8fd26044ec67fd0a88353303687cc)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/vp3.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 3c5f8d710e..4221131e04 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -2924,6 +2924,8 @@ static int theora_decode_header(AVCodecContext *avctx, 
GetBitContext *gb)
     if (av_image_check_size(visible_width, visible_height, 0, avctx) < 0 ||
         visible_width  + offset_x > s->width ||
         visible_height + offset_y > s->height ||
+        visible_width  + 512 < s->width  ||
+        visible_height + 512 < s->height ||
         visible_width < 18
     ) {
         av_log(avctx, AV_LOG_ERROR,

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

Reply via email to