From: Christophe Jaillet Date: Wed, 17 Jul 2013 04:54:49 +0000 (+0000) Subject: Potential use of uninitialized memory. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7cd913f8161c5c560723753e9456760f8933ea7;p=thirdparty%2Fapache%2Fhttpd.git 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 3a886b897c1..461c7c9d5c9 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) {