set, for example, when processing some error conditions.
PR: 23836
Reviewed by: Jeff Trawick, Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101539
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.48
+ *) mod_include: fix segfault which occured if the filename was not
+ set, for example, when processing some error conditions.
+ PR 23836. [Brian Akins <bakins@web.turner.com>, André Malo]
+
*) fix the config parser to support <Foo>..</Foo> containers (no
arguments in the opening tag) supported by httpd 1.3. Without
this change mod_perl 2.0's <Perl> sections are broken.
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/10/22 17:40:26 $]
+Last modified at [$Date: 2003/10/23 20:07:45 $]
Release:
modules/generators/mod_info.c r1.151
+1: trawick
- * mod_include: fix segfault which occured if the filename was not
- set, for example, when processing some error conditions. PR 23836.
- modules/filters/mod_include.c: r1.288
- +1: nd, trawick, jwoolley
-
* Set the scoreboard state to indicate logging prior to running
logging hooks so that server-status will show 'L' for hung
loggers instead of 'W'.
apr_table_setn(e, "DOCUMENT_PATH_INFO", r->path_info);
}
apr_table_setn(e, "USER_NAME", LAZY_VALUE);
- if ((t = strrchr(r->filename, '/'))) {
+ if (r->filename && (t = strrchr(r->filename, '/'))) {
apr_table_setn(e, "DOCUMENT_NAME", ++t);
}
else {