]> granicus.if.org Git - apache/commitdiff
Potential use of uninitialized memory.
authorChristophe Jaillet <jailletc36@apache.org>
Wed, 17 Jul 2013 04:54:49 +0000 (04:54 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Wed, 17 Jul 2013 04:54:49 +0000 (04:54 +0000)
Point 3 of PR 54936

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1503991 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 3a886b897c115033707ae79cdd71a32a3f38dc41..461c7c9d5c9d35acc63d7578ffe385a4beef5ac5 100644 (file)
@@ -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) {