Hello community, here is the log from the commit of package openldap2 for openSUSE:Factory checked in at 2019-02-08 13:47:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openldap2 (Old) and /work/SRC/openSUSE:Factory/.openldap2.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openldap2" Fri Feb 8 13:47:56 2019 rev:144 rq:672068 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/openldap2/openldap2.changes 2018-12-24 11:35:46.985750844 +0100 +++ /work/SRC/openSUSE:Factory/.openldap2.new.28833/openldap2.changes 2019-02-08 13:47:57.922787405 +0100 @@ -1,0 +2,6 @@ +Fri Jan 4 14:13:47 UTC 2019 - Michael Ströder <mich...@stroeder.com> + +- added back-ported fix for OpenLDAP ITS#8727 + (file 0002-openldap-its8727-plug-ber-leaks.patch) + +------------------------------------------------------------------- New: ---- 0002-openldap-its8727-plug-ber-leaks.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openldap2.spec ++++++ --- /var/tmp/diff_new_pack.Y3F6RJ/_old 2019-02-08 13:47:58.722787156 +0100 +++ /var/tmp/diff_new_pack.Y3F6RJ/_new 2019-02-08 13:47:58.726787154 +0100 @@ -58,6 +58,7 @@ Source17: openldap_update_modules_path.sh Source18: openldap2.conf Patch1: 0001-ITS-8866-slapo-unique-to-return-filter-used-in-diagn.patch +Patch2: 0002-openldap-its8727-plug-ber-leaks.patch Patch3: 0003-LDAPI-socket-location.dif Patch5: 0005-pie-compile.dif Patch7: 0007-Recover-on-DB-version-change.dif @@ -255,6 +256,7 @@ # Unpack and patch OpenLDAP 2.4 %setup -q -a 9 -n openldap-%{version_main} %patch1 -p1 +%patch2 -p1 %patch3 -p1 %patch5 -p1 %patch7 -p1 ++++++ 0002-openldap-its8727-plug-ber-leaks.patch ++++++ >From 11320a9156e1306c251b27443439dc2e1db0107b Mon Sep 17 00:00:00 2001 From: Howard Chu <h...@openldap.org> Date: Tue, 17 Jan 2017 11:35:54 +0000 Subject: ITS#8727 plug ber leaks diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 31145432f..7d2d7a458 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -315,6 +315,7 @@ ldap_send_server_request( LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex ); if ( rc == -1 ) { ld->ld_errno = LDAP_ENCODING_ERROR; + ber_free( ber, 1 ); LDAP_CONN_UNLOCK_IF(m_noconn); return rc; } @@ -334,6 +335,7 @@ ldap_send_server_request( rc = -1; } if ( rc ) { + ber_free( ber, 1 ); LDAP_CONN_UNLOCK_IF(m_noconn); return rc; }