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 44ff5ceabcf0265ee13c8ac48d046bf6dfa375a7
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Nov 3 01:22:43 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Nov 15 02:31:01 2026 +0100

    avcodec/eatqi: check init_get_bits8() for failure
    
    Fixes: 8DIglq00jxSy
    Fixes: AISLE-2026-0150-00271
    Fixes: null pointer dereference
    Null pointer dereference Replicated through UnModified FFmpeg with ASAN
    (EA file with a pIQT chunk carrying a 2^28 byte payload)
    
    Found-by: Joshua Rogers (AISLE)
    (cherry picked from commit 5d7b743bdfb724df21fd43a3d7f3258382eb578c)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/eatqi.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c
index 421ed51009..3249ef3e0e 100644
--- a/libavcodec/eatqi.c
+++ b/libavcodec/eatqi.c
@@ -151,7 +151,9 @@ static int tqi_decode_frame(AVCodecContext *avctx, AVFrame 
*frame,
         return AVERROR(ENOMEM);
     t->bsdsp.bswap_buf(t->bitstream_buf, (const uint32_t *) buf,
                        (buf_end - buf) / 4);
-    init_get_bits(&t->gb, t->bitstream_buf, 8 * (buf_end - buf));
+    ret = init_get_bits8(&t->gb, t->bitstream_buf, buf_end - buf);
+    if (ret < 0)
+        return ret;
 
     t->last_dc[0] =
     t->last_dc[1] =

-- 
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]

Reply via email to