]> granicus.if.org Git - apache/commitdiff
mod_proxy_fcgi: Don't segfault when failing to connect to the backend.
authorJeff Trawick <trawick@apache.org>
Sun, 27 Apr 2014 18:10:03 +0000 (18:10 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 27 Apr 2014 18:10:03 +0000 (18:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1590437 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/mod_proxy_fcgi.c

diff --git a/CHANGES b/CHANGES
index ee51512596497c404c678a364b89fca0dd7ab4ee..f6a63cde4b77e42d4421fb7b1f8ae2f2f4d12bd9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_proxy_fcgi: Don't segfault when failing to connect to the backend.
+     [Jeff Trawick]
+
   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
      to be based on arbitrary expressions that do not include the username.
      [Graham Leggett]
index c36071e08a461efe1dca37e51bc5c24fc3395cb3..88fba31af11c2d88d9858e0ff8d1adbf9fd583bd 100644 (file)
@@ -760,7 +760,7 @@ static int proxy_fcgi_handler(request_rec *r, proxy_worker *worker,
     int status;
     char server_portstr[32];
     conn_rec *origin = NULL;
-    proxy_conn_rec *backend;
+    proxy_conn_rec *backend = NULL;
 
     proxy_dir_conf *dconf = ap_get_module_config(r->per_dir_config,
                                                  &proxy_module);