Otherwise when trying to log the error
(a) we segfault (if the directive was in another file)
(b) we show a wrong occurrence line number (start line of the previous
container or somewhat) or probably segfault, too
(if no previous container/directive exists).
PR: 17093
Reviewed by: Jeff Trawick, Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@98811
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.45
+ *) Fix segfault which occurred when a section in an included
+ configuration file was not closed. PR 17093. [André Malo]
+
*) Enhance the behavior of mod_isapi's WriteClient() callback to
provide better emulation for isapi modules that presume that the
first WriteClient() call may send status and headers. An example
curr_parent->filename,
curr_parent->line_num,
curr_parent->directive);
- curr_parent = curr_parent->parent;
+
+ parms->err_directive = curr_parent;
+ curr_parent = curr_parent->parent;
}
return errmsg;