httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Tue, 10 Sep 2002 19:41:43 GMT
jerenkrantz    2002/09/10 12:41:43

  Modified:    .        CHANGES
               server   core.c
  Log:
  Fix memory leak in core_output_filter.
  
  This would result in at least two EOS buckets being leaked per connection.
  
  Revision  Changes    Path
  1.921     +2 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.920
  retrieving revision 1.921
  diff -u -u -r1.920 -r1.921
  --- CHANGES	10 Sep 2002 03:00:50 -0000	1.920
  +++ CHANGES	10 Sep 2002 19:41:41 -0000	1.921
  @@ -1,5 +1,7 @@
   Changes with Apache 2.0.41
   
  +  *) Fix memory leak in core_output_filter.  [Justin Erenkrantz]
  +
     *) Add ability to htpasswd (via -5) to produce non-obfuscated MD5 hashes.
        [Justin Erenkrantz]
   
  
  
  
  1.202     +1 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.201
  retrieving revision 1.202
  diff -u -u -r1.201 -r1.202
  --- core.c	23 Aug 2002 18:05:37 -0000	1.201
  +++ core.c	10 Sep 2002 19:41:43 -0000	1.202
  @@ -3798,7 +3798,7 @@
               if (APR_BUCKET_IS_EOS(last_e)) {
                   apr_bucket *bucket;
                   int file_bucket_saved = 0;
  -                APR_BUCKET_REMOVE(last_e);
  +                apr_bucket_delete(last_e);
                   for (bucket = APR_BRIGADE_FIRST(b);
                        bucket != APR_BRIGADE_SENTINEL(b);
                        bucket = APR_BUCKET_NEXT(bucket)) {
  
  
  

Mime
View raw message