1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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
This commit is contained in:
Christophe Jaillet
2013-07-17 04:54:49 +00:00
parent 1f1501dda9
commit a4b8cb7b5d

View File

@@ -393,7 +393,7 @@ PROXY_DECLARE(int) ap_proxyerror(request_rec *r, int statuscode, const char *mes
static const char * static const char *
proxy_get_host_of_request(request_rec *r) 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; apr_port_t port;
if (r->hostname != NULL) { if (r->hostname != NULL) {