APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/04/12 21:26:25 $]
+Last modified at [$Date: 2004/04/12 21:34:18 $]
Release:
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c?r1=1.272&r2=1.273
+1: nd (geoff)
- *) Nested <IfDefine> blocks will cause ap_build_cont_config()
- to be called recursively. Allocate the temporary 8k
- string buffer from the temp_pool rather than the stack to
- avoid over-running a fixed length stack.
- server/config.c: r1.174
- +1: bnicholes, nd, trawick
-
*) Fix segfault in mod_expires. PR 28047
modules/metadata/mod_expires.c: r1.54
+1: nd, bnicholes, trawick
ap_directive_t **curr_parent,
char *orig_directive)
{
- char l[MAX_STRING_LEN];
+ char *l;
char *bracket;
const char *retval;
ap_directive_t *sub_tree = NULL;
+ /* Since this function can be called recursively, allocate
+ * the temporary 8k string buffer from the temp_pool rather
+ * than the stack to avoid over-running a fixed length stack.
+ */
+ l = apr_palloc(temp_pool, MAX_STRING_LEN);
+
bracket = apr_pstrcat(p, orig_directive + 1, ">", NULL);
while (!(ap_cfg_getline(l, MAX_STRING_LEN, parms->config_file))) {
if (!memcmp(l, "</", 2)