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 0fbc25f243bb763b7d46f2e1a1bf269308a3651c Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Nov 3 04:29:14 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:42:57 2026 +0100 avcodec/tiertexseqv: check the RLE block unpacking before copying the block Fixes: V9Z2ZdGQsUo6 Fixes: AISLE-2026-0150-00048 Fixes: use of uninitialized memory Use of uninitialized memory Replicated through UnModified FFmpeg with MSAN Found-by: Joshua Rogers (AISLE) (cherry picked from commit c896bbb24535685509a816af09665cb73bf2d0c7) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/tiertexseqv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c index 31acc9b438..9a7eb70ee8 100644 --- a/libavcodec/tiertexseqv.c +++ b/libavcodec/tiertexseqv.c @@ -92,6 +92,8 @@ static const unsigned char *seq_decode_op1(SeqVideoContext *seq, switch (len & 3) { case 1: src = seq_unpack_rle_block(src, src_end, block, sizeof(block)); + if (!src) + return NULL; for (b = 0; b < 8; b++) { memcpy(dst, &block[b * 8], 8); dst += seq->frame->linesize[0]; @@ -99,6 +101,8 @@ static const unsigned char *seq_decode_op1(SeqVideoContext *seq, break; case 2: src = seq_unpack_rle_block(src, src_end, block, sizeof(block)); + if (!src) + return NULL; for (i = 0; i < 8; i++) { for (b = 0; b < 8; b++) dst[b * seq->frame->linesize[0]] = block[i * 8 + b]; -- 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]
