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 probably segfault, too (if no previous container exists).
PR: 17093
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98671
13f79535-47bb-0310-9956-
ffa450edef68
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;