This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e73d82f44c255405ed416fd85f91730472475cf0 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Sep 29 18:36:48 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Oct 4 04:32:52 2026 +0000 avfilter/src_movie: reject out of range stream indexes in the seek command Fixes: out of array write with an out of range stream index in the amovie seek command Fixes: CHE5mlmUNamc Found-by: Hongduo Zhao Replicated through UnModified FFmpeg --- libavfilter/src_movie.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 5d4f6e31e6..af69294909 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -653,6 +653,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar if (sscanf(args, "%i|%"SCNi64"|%i %1s", &idx, &ts, &flags, tail) != 3) return AVERROR(EINVAL); + if (idx + 1U > movie->format_ctx->nb_streams) + return AVERROR(EINVAL); ret = av_seek_frame(movie->format_ctx, idx, ts, flags); if (ret < 0) -- 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]
