From: Stefan Eissing Date: Wed, 10 Feb 2016 10:06:57 +0000 (+0000) Subject: fixing uninitialized ssl_hostname X-Git-Tag: 2.5.0-alpha~2153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f17c65e3dcb88f1eeb5ddf80944e86a35ff8d58;p=thirdparty%2Fapache%2Fhttpd.git fixing uninitialized ssl_hostname git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729571 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/mod_proxy_http2.c b/modules/http2/mod_proxy_http2.c index 879a63ae021..d1eb963f2e1 100644 --- a/modules/http2/mod_proxy_http2.c +++ b/modules/http2/mod_proxy_http2.c @@ -220,7 +220,7 @@ static int proxy_http2_handler(request_rec *r, conn_rec *c = r->connection; apr_pool_t *p = r->pool; apr_uri_t *uri = apr_palloc(p, sizeof(*uri)); - const char *ssl_hostname; + const char *ssl_hostname = NULL; /* find the scheme */ if ((url[0] != 'h' && url[0] != 'H') || url[1] != '2') {