From: Ralf S. Engelschall Date: Sat, 2 Aug 1997 15:52:12 +0000 (+0000) Subject: Bugfix the case where multiple s match and all are applied X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b9b966b24f545c610453ff369043851859a066;p=thirdparty%2Fapache%2Fhttpd.git Bugfix the case where multiple s match and all are applied Submitted by: Dean Gaudet Reviewed by: Dean Gaudet, Ralf S. Engelschall, Randy Terbush git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78867 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/APACHE_1_2_X/src/CHANGES b/APACHE_1_2_X/src/CHANGES index 66f438959a8..7f4aef64e52 100644 --- a/APACHE_1_2_X/src/CHANGES +++ b/APACHE_1_2_X/src/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 1.2.2 + *) Bugfix for case where multiple s match and all are applied. + [Dean Gaudet] + *) Fixed an infinite loop in mod_imap for references above the server root [Dean Gaudet] PR#748 diff --git a/APACHE_1_2_X/src/main/http_request.c b/APACHE_1_2_X/src/main/http_request.c index 77fa0a67e26..1e63629dcfd 100644 --- a/APACHE_1_2_X/src/main/http_request.c +++ b/APACHE_1_2_X/src/main/http_request.c @@ -344,7 +344,7 @@ int directory_walk (request_rec *r) core_dir_config *core_dir = (core_dir_config *)get_module_config(per_dir_defaults, &core_module); int overrides_here; - void *this_conf = NULL, *htaccess_conf = NULL; + void *this_conf, *htaccess_conf = NULL; char *this_dir = make_dirstr (r->pool, test_filename, i); int j; @@ -373,6 +373,7 @@ int directory_walk (request_rec *r) (core_dir_config *)get_module_config(entry_config, &core_module); entry_dir = entry_core->d; + this_conf = NULL; if (entry_core->r) { if (!regexec(entry_core->r, this_dir, 0, NULL, (j == num_sec) ? 0 : REG_NOTEOL)) {