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 3669a742dd avcodec/jpeglsdec: only apply color transform to decoded 
rows
3669a742dd is described below

commit 3669a742dda9404af26c3ec10b6dd2237a6fa7c5
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Jun 2 02:56:17 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Jun 3 20:34:28 2026 +0000

    avcodec/jpeglsdec: only apply color transform to decoded rows
    
    Fixes: Timeout
    Fixes: 
503996733/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_DEC_fuzzer-4948713016721408
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/jpeglsdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c
index 7a8bd2f685..3a48334ae1 100644
--- a/libavcodec/jpeglsdec.c
+++ b/libavcodec/jpeglsdec.c
@@ -501,7 +501,7 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s)
         if (s->bits <= 8) {
             uint8_t *src = s->picture_ptr->data[0];
 
-            for (i = 0; i < s->height; i++) {
+            for (i = 0; i < decoded_height; i++) {
                 switch(s->xfrm) {
                 case 1:
                     for (x = off; x + 2 < w; x += 3) {

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

Reply via email to