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

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

commit 6e8b6228c9b5d5dd04396ef936d113196166eb37
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Dec 22 23:17:24 2025 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon May 4 15:56:59 2026 +0200

    avcodec/jpeg2000dec: Make M_b check broader
    
    Fixes: shift exponent -1 is negative
    Fixes: 
429330004/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_DEC_fuzzer-4733213845291008
    
    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 d60c1d72c1299e683c1d2f86cb4332b4d88348a5)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/jpeg2000dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 6a86375e0c..3dce0c1909 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -2237,8 +2237,8 @@ static inline int tile_codeblocks(const 
Jpeg2000DecoderContext *s, Jpeg2000Tile
                     band->coord[1][0] == band->coord[1][1])
                     continue;
 
-                if ((codsty->cblk_style & JPEG2000_CTSY_HTJ2K_F) && M_b >= 31) 
{
-                    avpriv_request_sample(s->avctx, "JPEG2000_CTSY_HTJ2K_F and 
M_b >= 31");
+                if (M_b >= 31) {
+                    avpriv_request_sample(s->avctx, "M_b >= 31");
                     return AVERROR_PATCHWELCOME;
                 }
 

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

Reply via email to