This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit 7c011995e394e04f685d6674727dd490cfb297ba Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Feb 27 23:39:28 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 15:57:16 2026 +0200 avformat/rtsp: Explicitly check protocol Fixes: redirect to non rtsp protocol Fixes: YWH-PGM40646-41 Found-by: BapToutatis Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit ea9e85e54981b8402368d0f21648836d6738f1b1) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 3ccbb1b379..19a24fbb1b 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1779,7 +1779,8 @@ redirect: } else if (!strcmp(proto, "satip")) { av_strlcpy(proto, "rtsp", sizeof(proto)); rt->server_type = RTSP_SERVER_SATIP; - } + } else if (strcmp(proto, "rtsp")) + return AVERROR_INVALIDDATA; if (*auth) { av_strlcpy(rt->auth, auth, sizeof(rt->auth)); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
