]> granicus.if.org Git - apache/commitdiff
fixing uninitialized ssl_hostname
authorStefan Eissing <icing@apache.org>
Wed, 10 Feb 2016 10:06:57 +0000 (10:06 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 10 Feb 2016 10:06:57 +0000 (10:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729571 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/mod_proxy_http2.c

index 879a63ae021f20847b3c94fb2bfa408c0bf257f4..d1eb963f2e1c02d5a2889a9da755a41f51790977 100644 (file)
@@ -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') {