diff options
author | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-29 18:16:23 +0000 |
---|---|---|
committer | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-29 18:16:23 +0000 |
commit | de7508ba8be3c6e589a2a5537ec08ec371ddf165 (patch) | |
tree | c6cd7f4c427c3a00daeec280f4c0d76eb7b3ba00 | |
parent | 1f1b2f90f8721895ce4544db15462efbbc60a847 (diff) | |
download | libapr-util-de7508ba8be3c6e589a2a5537ec08ec371ddf165.tar.gz |
Fix a nasty segfault in mmap_bucket_setaside() caused by passing
an incompatible pointer type to mmap_bucket_destroy(void*).
PR: 16533
Submitted by: Gerard Eviston <geviston@bigpond.net.au>
Reviewed by: Cliff Woolley
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58839 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | buckets/apr_buckets_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buckets/apr_buckets_mmap.c b/buckets/apr_buckets_mmap.c index 82951908..8017cc1d 100644 --- a/buckets/apr_buckets_mmap.c +++ b/buckets/apr_buckets_mmap.c @@ -164,7 +164,7 @@ static apr_status_t mmap_bucket_setaside(apr_bucket *b, apr_pool_t *p) } /* decrement refcount on old apr_bucket_mmap */ - mmap_bucket_destroy(mm); + mmap_bucket_destroy(m); /* create new apr_bucket_mmap pointing to new apr_mmap_t */ apr_bucket_mmap_make(b, new_mm, b->start, b->length); |