aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:34 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:34 -0700
commitb86a4be245d0ba077c97c6ab6b1cdbeb9dcc1342 (patch)
tree1dde4745773d761f1a4a677e1dcbf8149a27113b /http.c
parent506223f9c5c8956f895f0342e4a6d4244b5fa570 (diff)
parentf2771efd07b51edae023db95fcca39c72a0397fe (diff)
downloadgit-b86a4be245d0ba077c97c6ab6b1cdbeb9dcc1342.tar.gz
Git 2.24.3v2.24.3
This merges up the security fix from v2.17.5. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'http.c')
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index 027a86d75d..221d3f2eda 100644
--- a/http.c
+++ b/http.c
@@ -560,6 +560,7 @@ static int has_cert_password(void)
return 0;
if (!cert_auth.password) {
cert_auth.protocol = xstrdup("cert");
+ cert_auth.host = xstrdup("");
cert_auth.username = xstrdup("");
cert_auth.path = xstrdup(ssl_cert);
credential_fill(&cert_auth);