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 f05de6a28b76c8aefc3a06bc639b1b65fd1a1801 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 03:02:32 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Fri Sep 18 00:50:45 2026 +0200 avformat/genh: check for unsupported interlaved size 1 typ1 THP Fixes: use of uninitialized memory Fixes: crafted_malicious.genh / generate_poc.py Fixes: XtWk54O0PGfP Found-by: zhang xingxing Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 4ebb720fc1d73f38d9bace4aaa1ed7d4b55caa1a) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/genh.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/genh.c b/libavformat/genh.c index 32cad7382b..14618a8ed7 100644 --- a/libavformat/genh.c +++ b/libavformat/genh.c @@ -177,6 +177,11 @@ static int genh_read_packet(AVFormatContext *s, AVPacket *pkt) par->ch_layout.nb_channels > 1) { int i, ch; + if (c->interleave_size != 2) { + avpriv_request_sample(s, "type1 THP interleave size %d", c->interleave_size); + return AVERROR_PATCHWELCOME; + } + if (avio_feof(s->pb)) return AVERROR_EOF; ret = av_new_packet(pkt, 8 * par->ch_layout.nb_channels); -- 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]
