httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental util_ldap_cache_mgr.c
Date Wed, 13 Oct 2004 16:19:36 GMT
minfrin     2004/10/13 09:19:36

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES STATUS
               modules/experimental Tag: APACHE_2_0_BRANCH
                        util_ldap_cache_mgr.c
  Log:
  mod_ldap: prevent the possiblity of an infinite loop in the LDAP
  statistics display.
  PR:	29216
  Reviewed by:	minfrin, bnicholes, jim
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.988.2.367 +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.366
  retrieving revision 1.988.2.367
  diff -u -r1.988.2.366 -r1.988.2.367
  --- CHANGES	13 Oct 2004 15:25:04 -0000	1.988.2.366
  +++ CHANGES	13 Oct 2004 16:19:33 -0000	1.988.2.367
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.53
   
  +  *) mod_ldap: prevent the possiblity of an infinite loop in the LDAP
  +     statistics display. PR 29216 [Graham Leggett]
  +
     *) mod_ldap: fix a bogus error message to tell the user which file
        is causing a potential problem with the LDAP shared memory cache.
        PR 31431 [Graham Leggett]
  
  
  
  1.751.2.1113 +1 -7      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.751.2.1112
  retrieving revision 1.751.2.1113
  diff -u -r1.751.2.1112 -r1.751.2.1113
  --- STATUS	13 Oct 2004 15:29:44 -0000	1.751.2.1112
  +++ STATUS	13 Oct 2004 16:19:34 -0000	1.751.2.1113
  @@ -103,12 +103,6 @@
          PR 24437
          +1: minfrin
   
  -    *) mod_ldap: prevent the possiblity of an infinite loop in the LDAP
  -       statistics display.
  -         modules/ldap/util_ldap_cache_mgr.c: 1.11
  -       PR 29216
  -       +1: minfrin, bnicholes, jim
  -
       *) apxs: fix handling of -Wc/-Wl and "-o mod_foo.so".
            http://cvs.apache.org/viewcvs.cgi/httpd-2.0/support/apxs.in?r1=1.62&r2=1.64
          PR: 31448
  
  
  
  No                   revision
  No                   revision
  1.3.2.15  +5 -2      httpd-2.0/modules/experimental/Attic/util_ldap_cache_mgr.c
  
  Index: util_ldap_cache_mgr.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/Attic/util_ldap_cache_mgr.c,v
  retrieving revision 1.3.2.14
  retrieving revision 1.3.2.15
  diff -u -r1.3.2.14 -r1.3.2.15
  --- util_ldap_cache_mgr.c	29 Sep 2004 17:22:53 -0000	1.3.2.14
  +++ util_ldap_cache_mgr.c	13 Oct 2004 16:19:36 -0000	1.3.2.15
  @@ -469,8 +469,11 @@
       for (i=0; i < cache->size; ++i) {
           if (cache->nodes[i] != NULL) {
               nchains++;
  -            for (n = cache->nodes[i]; n != NULL; n = n->next)
  -            totchainlen++;
  +            for (n = cache->nodes[i];
  +                 n != NULL && n != n->next;
  +                 n = n->next) {
  +            	totchainlen++;
  +            }
           }
       }
       chainlen = nchains? (double)totchainlen / (double)nchains : 0;
  
  
  

Mime
View raw message