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 7bd23e2cb221f014eb6b2ae1c5bb69bb1c259ca0 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Jul 5 01:43:49 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue Jul 21 22:59:56 2026 +0200 avcodec/mjpegdec: reject flipping of bayer images Fixes: assertion failure Fixes: 523522308/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_DEC_fuzzer-4771843818192896 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 40ce1513c6a883bc2b96d33d968013b89dfe76af) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/mjpegdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 0853d76372..d8430a260b 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -2750,7 +2750,7 @@ the_end: } } } - if (s->flipped && !s->rgb) { + if (s->flipped && !s->rgb && !s->bayer) { ret = av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &hshift, &vshift); if (ret) return ret; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
