You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/08/28 21:16:01 UTC

cvs commit: httpd-ldap/ldap-cache util_ldap_cache.c

trawick     2002/08/28 12:16:00

  Modified:    .        CHANGES
               ldap-cache util_ldap_cache.c
  Log:
  Fix a reference to an uninitialized pointer in util_ldap_cache_init().
  
  PR:                12091
  Submitted by:      Jess Holle <je...@ptc.com>
  Reviewed by:	   Jeff Trawick
  
  Revision  Changes    Path
  1.3       +2 -0      httpd-ldap/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-ldap/CHANGES,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CHANGES	30 Jul 2002 19:38:11 -0000	1.2
  +++ CHANGES	28 Aug 2002 19:16:00 -0000	1.3
  @@ -1,3 +1,5 @@
  +  *) Fix a reference to an uninitialized pointer in util_ldap_cache_init().
  +     PR 12091.  [Jess Holle <je...@ptc.com>]
   
     *) Support non-threaded configurations.  PR 10920.  [Jeff Trawick]
   
  
  
  
  1.6       +1 -3      httpd-ldap/ldap-cache/util_ldap_cache.c
  
  Index: util_ldap_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-ldap/ldap-cache/util_ldap_cache.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- util_ldap_cache.c	28 May 2002 19:28:13 -0000	1.5
  +++ util_ldap_cache.c	28 Aug 2002 19:16:00 -0000	1.6
  @@ -292,8 +292,6 @@
   
   apr_status_t util_ldap_cache_init(apr_pool_t *pool, apr_size_t reqsize)
   {
  -    apr_anylock_t rmm_lock;
  -
   #if APR_HAS_SHARED_MEMORY
       apr_status_t result;
   
  @@ -303,7 +301,7 @@
       }
   
       /* This will create a rmm "handler" to get into the shared memory area */
  -    apr_rmm_init(&util_ldap_rmm, &rmm_lock, 
  +    apr_rmm_init(&util_ldap_rmm, NULL,
   			(void *)apr_shm_baseaddr_get(util_ldap_shm), reqsize, pool);
   #endif