This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 557481dea63e14ebfa8861acd12ff19c10a6ca99 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 6 23:22:46 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 20 21:30:18 2026 +0000 avformat/rdt: Check the size of the AAC data left in the packet The check was suggested in the report. Hardening for JRU5LF4QdVjc (AISLE-2026-0111-00165) Found-by: Joshua Rogers <[email protected]> --- libavformat/rdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rdt.c b/libavformat/rdt.c index 7bab6ce522..8228016aa1 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -317,6 +317,8 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st, return res; if (res > 0) { if (st->codecpar->codec_id == AV_CODEC_ID_AAC) { + if (len - pos > sizeof(rdt->buffer)) + return AVERROR_INVALIDDATA; memcpy (rdt->buffer, buf + pos, len - pos); rdt->rmctx->pb = avio_alloc_context (rdt->buffer, len - pos, 0, NULL, NULL, NULL, NULL); -- 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]
