This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit ea9e85e54981b8402368d0f21648836d6738f1b1 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Feb 27 23:39:28 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Fri Mar 6 03:37:19 2026 +0100 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]> --- libavformat/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index edb3142b3c..6da03d26fe 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1919,7 +1919,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]
