aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:19 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:30:19 -0700
commitc9808fa014aa88cc306705d308d1d9065d567ddc (patch)
tree49e1802baf85a3b95796f457739d51f242c41f3d /http.c
parent69fab82147e74a51ee1144a336eb47c7297b9b78 (diff)
parent9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b (diff)
downloadgit-c9808fa014aa88cc306705d308d1d9065d567ddc.tar.gz
Git 2.22.4v2.22.4
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 27aa0a3192..c4dfdac11f 100644
--- a/http.c
+++ b/http.c
@@ -558,6 +558,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);