This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 68ff515b6bb3f3ea3d58090535434383d231682b Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Jan 6 23:29:18 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun May 3 19:49:54 2026 +0200 avformat/http: Check that the protocol of redirects is http or https Fixes: #YWH-PGM40646-10 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit b9227d49eabce4e54b2dedf60ec23a96d74ba16a) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/http.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index c4e6292a95..f13b7f7768 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -253,7 +253,11 @@ static int http_open_cnx_internal(URLContext *h, AVDictionary **options) if (err < 0) goto end; } + } else if (strcmp(proto, "http")) { + err = AVERROR(EINVAL); + goto end; } + if (port < 0) port = 80; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
