This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 0c021534868ffc4a3001698ffdbe468b4988d6aa Author: Michael Niedermayer <[email protected]> AuthorDate: Wed May 6 02:33:01 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 14 04:59:04 2026 +0200 avcodec/jpeg2000dec: Clear header derived variables Fixes: NULL pointer dereference Found-by: Oguzhan Akkaya with AFL++ fuzzing (May 2026) Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 6631bbc5d47082a6212e3c82fce0215fce2dbac6) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/jpeg2000dec.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index bef11d0c47..3a7ac8cddd 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -2448,8 +2448,14 @@ static void jpeg2000_dec_cleanup(Jpeg2000DecoderContext *s) memset(s->qntsty, 0, sizeof(s->qntsty)); memset(s->properties, 0, sizeof(s->properties)); memset(&s->poc , 0, sizeof(s->poc)); + memset(s->roi_shift, 0, sizeof(s->roi_shift)); s->numXtiles = s->numYtiles = 0; s->ncomponents = 0; + s->has_ppm = 0; + s->isHT = 0; + s->precision = 0; + s->colour_space = 0; + s->pal8 = 0; } static int jpeg2000_read_main_headers(Jpeg2000DecoderContext *s) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
