https://bz.apache.org/bugzilla/show_bug.cgi?id=63516

--- Comment #4 from Joe Orton <[email protected]> ---
Possibly the way core.c works today is safe if we apply a constraint:

- anything allocated in ap_server_config_defines prior to pre_config MUST be
allocated out of ap_server_config_defines->pool

I think that is true of httpd itself.

So changing mod_perl to do:

    *(char **)apr_array_push(ap_server_config_defines) =
        apr_pstrdup(ap_server_config_defines->pool, "MODPERL2");

would also satisfy this and make mod_perl work the same way as main.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to