From: Brian Pane Date: Mon, 26 Nov 2001 03:51:40 +0000 (+0000) Subject: Fix for the code in core_output_filter() that concatenates small buckets X-Git-Tag: 2.0.29~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a18f8fe052a5bffb4366319598705318194e1c50;p=apache Fix for the code in core_output_filter() that concatenates small buckets into one big bucket...it was putting a pointer to a deleted bucket in the iovec, so the output was corrupted. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92171 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index a6b90f9576..aeeaf92cbd 100644 --- a/server/core.c +++ b/server/core.c @@ -3099,6 +3099,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) apr_brigade_destroy(temp_brig); e = temp; nvec = 0; + apr_bucket_read(e, &str, &n, APR_BLOCK_READ); } vec[nvec].iov_base = (char*) str; vec[nvec].iov_len = n;