This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 181bef5ac462e0bfeac6e4b10108a0708a442ed8 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Nov 3 01:22:44 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:31:26 2026 +0100 avcodec/cljrdec: check init_get_bits8() for failure Fixes: CC4WYLNBQ75g Fixes: AISLE-2026-0150-00062 Fixes: null pointer dereference Null pointer dereference Replicated through UnModified FFmpeg with ASAN (AVI file with one 2^28 byte CLJR frame) Found-by: Joshua Rogers (AISLE) (cherry picked from commit d40c1b12811814fc6c2d0816527b003d8510ea06) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/cljrdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/cljrdec.c b/libavcodec/cljrdec.c index 79fbea990f..ffd9f27e1a 100644 --- a/libavcodec/cljrdec.c +++ b/libavcodec/cljrdec.c @@ -51,7 +51,8 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p, if ((ret = ff_get_buffer(avctx, p, 0)) < 0) return ret; - init_get_bits(&gb, buf, buf_size * 8); + if ((ret = init_get_bits8(&gb, buf, buf_size)) < 0) + return ret; for (y = 0; y < avctx->height; y++) { uint8_t *luma = &p->data[0][y * p->linesize[0]]; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
