git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102961
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_cgid: Fix storage corruption caused by use of incorrect pool.
+ [Jeff Trawick]
+
*) Satisfy directives now can be influenced by a surrounding <Limit>
container. PR 14726. [André Malo]
apr_pool_userdata_get((void **)&procnew, userdata_key, main_server->process->pool);
if (!procnew) {
first_time = 1;
- procnew = apr_pcalloc(p, sizeof(*procnew));
+ procnew = apr_pcalloc(main_server->process->pool, sizeof(*procnew));
procnew->pid = -1;
procnew->err = procnew->in = procnew->out = NULL;
apr_pool_userdata_set((const void *)procnew, userdata_key,