aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:32:24 -0700
committerJonathan Nieder <jrnieder@gmail.com>2020-04-19 16:32:24 -0700
commitaf6b65d45ef179ed52087e80cb089f6b2349f4ec (patch)
tree4c7b9b1b1c22e457fbfa28ec64f33a0a469ebc02 /http.c
parentde49261b050d9cd8ec73842356077bc5b606640f (diff)
parent7397ca33730626f682845f8691b39c305535611e (diff)
downloadgit-af6b65d45ef179ed52087e80cb089f6b2349f4ec.tar.gz
Git 2.26.2v2.26.2
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 00a0e50763..5f71263482 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);