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 b05562b9b399057b6537fae337d0eeabcff6ef5c Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Feb 27 23:39:28 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 15:21:09 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 f7ea9355e0..ebd610642a 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1772,7 +1772,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]
