From: Bill Stoddard Date: Wed, 30 Jan 2002 01:57:53 +0000 (+0000) Subject: Now how did this slip by. Fixes a segfault. I tested this code, really... X-Git-Tag: 2.0.31~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afd601e6f5556fd51ffabe24d70616f30b6b5b2d;p=apache Now how did this slip by. Fixes a segfault. I tested this code, really... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93091 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 0fbf99a3fe..c940130e11 100644 --- a/server/core.c +++ b/server/core.c @@ -3209,7 +3209,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) core_output_filter_ctx_t *ctx = net->out_ctx; if (ctx == NULL) { - ctx = apr_pcalloc(net->c->pool, sizeof(*ctx)); + ctx = apr_pcalloc(c->pool, sizeof(*ctx)); net->out_ctx = ctx; }