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 ad28e7975f457748341dc623288f00a8f601d6a7 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Jan 6 23:29:18 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 15:20:57 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 dde91b91e2..d9931cae36 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -233,7 +233,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]
