This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 73130e77dc avformat/mlv: end the LJ92 packet where its data ends
73130e77dc is described below

commit 73130e77dc2e866386088e8e4edf7a051fd2949a
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Aug 12 03:22:35 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Aug 12 02:34:43 2026 +0000

    avformat/mlv: end the LJ92 packet where its data ends
    
    Fixes: read of uninitialized memory
    Fixes: PJaSVrRTt6Kf
    Found-by: Eunsoo Kim, Microsoft FORGE Labs
---
 libavformat/mlvdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index 2c1fe001c7..93e29f231c 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -528,6 +528,7 @@ static int get_packet_lj92(AVFormatContext *avctx, AVStream 
*st, AVIOContext *pb
     ret = avio_read(pbio, pkt->data + header_size, size);
     if (ret < 0)
         return ret;
+    av_shrink_packet(pkt, header_size + ret);
 
     return 0;
 }

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to