This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit b3927f18d9ab5fde0408a49b1a92ad0a124b45ed Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Feb 27 23:39:28 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 18:55:05 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 2ee430a424..d2fba1d227 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1765,7 +1765,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]
