[Pkg-openldap-devel] r719 - in openldap/trunk-2.3/debian: . lintian-overrides patches

Matthijs Mohlmann active2-guest at costa.debian.org
Fri Aug 25 18:06:54 UTC 2006


Author: active2-guest
Date: 2006-08-25 18:06:54 +0000 (Fri, 25 Aug 2006)
New Revision: 719

Added:
   openldap/trunk-2.3/debian/patches/startup-memleak-fix
Modified:
   openldap/trunk-2.3/debian/changelog
   openldap/trunk-2.3/debian/lintian-overrides/ldap-utils
   openldap/trunk-2.3/debian/lintian-overrides/slapd
   openldap/trunk-2.3/debian/patches/series
Log:
 * Updated changelog to 2.3.27
 * Added patch to fix a one time memleak on startup (patch from Quanah)
 * Updated lintian overrides.


Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog	2006-08-24 17:57:41 UTC (rev 718)
+++ openldap/trunk-2.3/debian/changelog	2006-08-25 18:06:54 UTC (rev 719)
@@ -1,10 +1,13 @@
-openldap2.3 (2.3.25-2) unstable; urgency=low
+openldap2.3 (2.3.27-1) unstable; urgency=low
 
+  * New upstream release.
   * pidfile location is changed 3 years ago, when people are upgrading from
     back then they have a broken slapd because the openldap user is not able
     to write to /var/run. (Closes: #380687)
+  * Patches by Quanah Gibson-Mount <quanah at stanford.edu>
+    - Fix one time memleak on startup in the accesslog db.
 
- -- Matthijs Mohlmann <matthijs at cacholong.nl>  Sun,  6 Aug 2006 14:55:16 +0200
+ -- Matthijs Mohlmann <matthijs at cacholong.nl>  Fri, 25 Aug 2006 20:04:43 +0200
 
 openldap2.3 (2.3.25-1) unstable; urgency=low
 

Modified: openldap/trunk-2.3/debian/lintian-overrides/ldap-utils
===================================================================
--- openldap/trunk-2.3/debian/lintian-overrides/ldap-utils	2006-08-24 17:57:41 UTC (rev 718)
+++ openldap/trunk-2.3/debian/lintian-overrides/ldap-utils	2006-08-25 18:06:54 UTC (rev 719)
@@ -1,3 +1,3 @@
 # dh_shlibdeps is not smart enough to wipe additional relations. Since this
 # is not easy to fix we don't even try to do it at this time.  -- Torsten
-ldap-utils: package-has-a-duplicate-relation depends: libldap-2.3-0, libldap-2.3-0 (= 2.3.25-2)
+ldap-utils: package-has-a-duplicate-relation depends: libldap-2.3-0, libldap-2.3-0 (= 2.3.27-1)

Modified: openldap/trunk-2.3/debian/lintian-overrides/slapd
===================================================================
--- openldap/trunk-2.3/debian/lintian-overrides/slapd	2006-08-24 17:57:41 UTC (rev 718)
+++ openldap/trunk-2.3/debian/lintian-overrides/slapd	2006-08-25 18:06:54 UTC (rev 719)
@@ -5,7 +5,7 @@
 
 # dh_shlibdeps is not smart enough to wipe additional relations. Since this
 # is not easy to fix we don't even try to do it at this time.  -- Torsten
-slapd: package-has-a-duplicate-relation depends: libldap-2.3-0, libldap-2.3-0 (= 2.3.25-2)
+slapd: package-has-a-duplicate-relation depends: libldap-2.3-0, libldap-2.3-0 (= 2.3.27-1)
 
 # The extended description is needed in slapd/backend. It explains a lot about
 # the different backends.

Modified: openldap/trunk-2.3/debian/patches/series
===================================================================
--- openldap/trunk-2.3/debian/patches/series	2006-08-24 17:57:41 UTC (rev 718)
+++ openldap/trunk-2.3/debian/patches/series	2006-08-25 18:06:54 UTC (rev 719)
@@ -11,3 +11,4 @@
 read-config-before-dropping-privileges -p0
 disable-epoll-system-call -p0
 wrong-database-location -p0
+startup-memleak-fix -p0

Added: openldap/trunk-2.3/debian/patches/startup-memleak-fix
===================================================================
--- openldap/trunk-2.3/debian/patches/startup-memleak-fix	2006-08-24 17:57:41 UTC (rev 718)
+++ openldap/trunk-2.3/debian/patches/startup-memleak-fix	2006-08-25 18:06:54 UTC (rev 719)
@@ -0,0 +1,22 @@
+Index: servers/slapd/overlays/accesslog.c
+===================================================================
+--- servers/slapd/overlays/accesslog.c.orig
++++ servers/slapd/overlays/accesslog.c
+@@ -626,7 +626,7 @@
+ 		case LOG_OLD:
+ 			if ( li->li_oldf ) {
+ 				filter2bv( li->li_oldf, &agebv );
+-				value_add_one( &c->rvalue_vals, &agebv );
++				ber_bvarray_add( &c->rvalue_vals, &agebv );
+ 			}
+ 			else
+ 				rc = 1;
+@@ -1318,6 +1318,8 @@
+ 	slap_overinst *on = (slap_overinst *)be->bd_info;
+ 	log_info *li = on->on_bi.bi_private;
+ 
++	if ( li->li_oldf )
++		filter_free( li->li_oldf );
+ 	ldap_pvt_thread_mutex_destroy( &li->li_log_mutex );
+ 	ldap_pvt_thread_mutex_destroy( &li->li_op_mutex );
+ 	free( li );




More information about the Pkg-openldap-devel mailing list