This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/6.1
in repository ffmpeg.

commit 10b80408fdaa07807bbbc8d383b88f692b9d764f
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Jan 6 23:29:18 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon May 4 17:13:13 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 032f820068..92c49c3c26 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -234,7 +234,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]

Reply via email to