From: Christophe Jaillet Date: Wed, 17 Jul 2013 04:54:49 +0000 (+0000) Subject: Potential use of uninitialized memory. X-Git-Tag: 2.5.0-alpha~5241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4b8cb7b5d9db436331d17edb43cf09ccdc2d3c7;p=apache Potential use of uninitialized memory. Point 3 of PR 54936 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1503991 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 3a886b897c..461c7c9d5c 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -393,7 +393,7 @@ PROXY_DECLARE(int) ap_proxyerror(request_rec *r, int statuscode, const char *mes static const char * proxy_get_host_of_request(request_rec *r) { - char *url, *user = NULL, *password = NULL, *err, *host; + char *url, *user = NULL, *password = NULL, *err, *host = NULL; apr_port_t port; if (r->hostname != NULL) {