[Pkg-openldap-devel] r769 - in openldap/trunk-2.3/debian: . patches

Matthijs Mohlmann matthijs at alioth.debian.org
Sat Dec 23 13:24:02 CET 2006


Author: matthijs
Date: 2006-12-23 13:24:02 +0100 (Sat, 23 Dec 2006)
New Revision: 769

Added:
   openldap/trunk-2.3/debian/patches/fix-memleak-on-failed-bind
Modified:
   openldap/trunk-2.3/debian/changelog
   openldap/trunk-2.3/debian/patches/series
Log:
 * Backported a memleak fix on failed binds.


Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog	2006-12-23 12:08:21 UTC (rev 768)
+++ openldap/trunk-2.3/debian/changelog	2006-12-23 12:24:02 UTC (rev 769)
@@ -4,8 +4,9 @@
   * Documentation updates backported from upstream.
   * Fix a security bug in kerberos kbind code. (Only used when enabling with
     --enable-kbind option) But better safe then sorry.
+  * Backported a mem leak fix on failed binds.
 
- -- Matthijs Mohlmann <matthijs at cacholong.nl>  Sat, 23 Dec 2006 13:05:52 +0100
+ -- Matthijs Mohlmann <matthijs at cacholong.nl>  Sat, 23 Dec 2006 13:23:18 +0100
 
 openldap2.3 (2.3.30-2) unstable; urgency=low
 

Added: openldap/trunk-2.3/debian/patches/fix-memleak-on-failed-bind
===================================================================
--- openldap/trunk-2.3/debian/patches/fix-memleak-on-failed-bind	2006-12-23 12:08:21 UTC (rev 768)
+++ openldap/trunk-2.3/debian/patches/fix-memleak-on-failed-bind	2006-12-23 12:24:02 UTC (rev 769)
@@ -0,0 +1,14 @@
+Index: servers/slapd/connection.c
+===================================================================
+--- servers/slapd/connection.c.orig
++++ servers/slapd/connection.c
+@@ -1753,6 +1753,9 @@
+ {
+ 	op->o_conn->c_sasl_bindop = NULL;
+ 
++	ch_free( op->o_callback );
++	op->o_callback = NULL;
++
+ 	return SLAP_CB_CONTINUE;
+ }
+ 

Modified: openldap/trunk-2.3/debian/patches/series
===================================================================
--- openldap/trunk-2.3/debian/patches/series	2006-12-23 12:08:21 UTC (rev 768)
+++ openldap/trunk-2.3/debian/patches/series	2006-12-23 12:24:02 UTC (rev 769)
@@ -16,3 +16,4 @@
 man-slurpd -p0
 adminguide-docfixes -p0
 kbind-security-fix -p0
+fix-memleak-on-failed-bind -p0




More information about the Pkg-openldap-devel mailing list