httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1503991 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Wed, 17 Jul 2013 04:54:49 GMT
Author: jailletc36
Date: Wed Jul 17 04:54:49 2013
New Revision: 1503991

URL: http://svn.apache.org/r1503991
Log:
Potential use of uninitialized memory.
Point 3 of PR 54936

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1503991&r1=1503990&r2=1503991&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Wed Jul 17 04:54:49 2013
@@ -393,7 +393,7 @@ PROXY_DECLARE(int) ap_proxyerror(request
 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) {



Mime
View raw message