apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr-util/buckets apr_buckets_simple.c
Date Wed, 28 Feb 2001 23:46:54 GMT
trawick     01/02/28 15:46:54

  Modified:    buckets  apr_buckets_simple.c
  Log:
  Don't do free() on the data when destroying immortal and transient
  buckets.
  
  This should fix some heap corruption seen in Apache.
  
  Revision  Changes    Path
  1.25      +2 -2      apr-util/buckets/apr_buckets_simple.c
  
  Index: apr_buckets_simple.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_simple.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- apr_buckets_simple.c	2001/02/28 02:19:02	1.24
  +++ apr_buckets_simple.c	2001/02/28 23:46:53	1.25
  @@ -151,7 +151,7 @@
   
   const apr_bucket_type_t apr_bucket_type_immortal = {
       "IMMORTAL", 5,
  -    free,
  +    apr_bucket_destroy_notimpl,
       simple_read,
       apr_bucket_setaside_notimpl,
       apr_bucket_simple_split,
  @@ -160,7 +160,7 @@
   
   APU_DECLARE_DATA const apr_bucket_type_t apr_bucket_type_transient = {
       "TRANSIENT", 5,
  -    free, 
  +    apr_bucket_destroy_notimpl, 
       simple_read,
       transient_setaside,
       apr_bucket_simple_split,
  
  
  

Mime
View raw message