This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/5.1 in repository ffmpeg.
commit 9d5ab50b58c399b2aaefde2b5690a0a0d1767c8d Author: Michael Niedermayer <[email protected]> AuthorDate: Sat May 16 20:35:11 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Jun 18 04:42:24 2026 +0200 avformat/dashdec: Fail with any inner stream count being 0 Fixes: ada-3-poc.mpd Found-by: Claude and Ada Logics. This issue was found by Anthropic from using agents to study security of open source projects, and I am from Ada Logics helping validate the found issues and report to maintainers. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit b99c6fc8c362062f00f1eafd763d4449ad2ad512) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/dashdec.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 83785cb13d..e22fde4bd1 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -2077,6 +2077,8 @@ static int dash_read_header(AVFormatContext *s) if (ret) return ret; + if (rep->ctx->nb_streams == 0) + return AVERROR_PATCHWELCOME; rep->stream_index = stream_index; ++stream_index; } @@ -2095,6 +2097,8 @@ static int dash_read_header(AVFormatContext *s) if (ret) return ret; + if (rep->ctx->nb_streams == 0) + return AVERROR_PATCHWELCOME; rep->stream_index = stream_index; ++stream_index; } @@ -2113,6 +2117,8 @@ static int dash_read_header(AVFormatContext *s) if (ret) return ret; + if (rep->ctx->nb_streams == 0) + return AVERROR_PATCHWELCOME; rep->stream_index = stream_index; ++stream_index; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
