This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 3cb0c0987f09080446ba18d91835dd1b1656018f Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Aug 12 03:22:35 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Wed Aug 12 04:52:01 2026 +0200 avformat/mlv: end the LJ92 packet where its data ends Fixes: read of uninitialized memory Fixes: PJaSVrRTt6Kf Found-by: Eunsoo Kim, Microsoft FORGE Labs (cherry picked from commit 73130e77dc2e866386088e8e4edf7a051fd2949a) Signed-off-by: Michael Niedermayer <[email protected]> --- 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]
