Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2011-12-30 08:45:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs", Maintainer is "mszer...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2011-10-21 16:27:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.autofs.new/autofs.changes 2011-12-30 08:45:23.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Dec 20 11:28:00 UTC 2011 - co...@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Wed Nov 16 19:51:44 UTC 2011 - lchiqui...@suse.com + +- fix initialization of LDAP results (bnc#730245) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.zeZGlz/_old 2011-12-30 08:45:24.000000000 +0100 +++ /var/tmp/diff_new_pack.zeZGlz/_new 2011-12-30 08:45:24.000000000 +0100 @@ -15,17 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: autofs Url: http://www.kernel.org/pub/linux/daemons/autofs/v5/ -BuildRequires: bison e2fsprogs flex module-init-tools nfs-client -BuildRequires: krb5-devel libtirpc-devel libxml2-devel openldap2-devel -License: GPLv2+ -Group: System/Daemons +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: e2fsprogs +BuildRequires: flex +BuildRequires: krb5-devel +BuildRequires: libtirpc-devel +BuildRequires: libxml2-devel +BuildRequires: module-init-tools +BuildRequires: nfs-client +BuildRequires: openldap2-devel Version: 5.0.6 -Release: 2 +Release: 0 Summary: A Kernel-Based Automounter +License: GPL-2.0+ +Group: System/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2 Source1: sysconfig.autofs ++++++ autofs-5.0.5-fix-ldap-result-leaks.patch ++++++ --- /var/tmp/diff_new_pack.zeZGlz/_old 2011-12-30 08:45:24.000000000 +0100 +++ /var/tmp/diff_new_pack.zeZGlz/_new 2011-12-30 08:45:24.000000000 +0100 @@ -8,10 +8,19 @@ CHANGELOG | 1 + 2 files changed, 7 insertions(+) -Index: autofs/modules/lookup_ldap.c +Index: autofs-5.0.6/modules/lookup_ldap.c =================================================================== ---- autofs.orig/modules/lookup_ldap.c -+++ autofs/modules/lookup_ldap.c +--- autofs-5.0.6.orig/modules/lookup_ldap.c ++++ autofs-5.0.6/modules/lookup_ldap.c +@@ -280,7 +280,7 @@ static int get_query_dn(unsigned logopt, + { + char buf[MAX_ERR_BUF]; + char *query, *dn, *qdn; +- LDAPMessage *result, *e; ++ LDAPMessage *result = NULL, *e; + struct ldap_searchdn *sdns = NULL; + char *attrs[2]; + struct berval **value; @@ -347,6 +347,8 @@ static int get_query_dn(unsigned logopt, error(logopt, MODPREFIX "query failed for %s: %s", @@ -21,6 +30,15 @@ free(query); return 0; } +@@ -1527,7 +1529,7 @@ int lookup_read_master(struct master *ma + char buf[MAX_ERR_BUF]; + char parse_buf[PARSE_MAX_BUF]; + char *query; +- LDAPMessage *result, *e; ++ LDAPMessage *result = NULL, *e; + char *class, *info, *entry; + char **keyValue = NULL; + char **values = NULL; @@ -1573,6 +1575,8 @@ int lookup_read_master(struct master *ma error(logopt, MODPREFIX "query failed for %s: %s", query, ldap_err2string(rv)); @@ -30,6 +48,15 @@ free(query); return NSS_STATUS_NOTFOUND; } +@@ -2471,7 +2475,7 @@ static int lookup_one(struct autofs_poin + char buf[MAX_ERR_BUF]; + time_t age = time(NULL); + char *query; +- LDAPMessage *result, *e; ++ LDAPMessage *result = NULL, *e; + char *class, *info, *entry; + char *enc_key1, *enc_key2; + int enc_len1 = 0, enc_len2 = 0; @@ -2586,6 +2590,8 @@ static int lookup_one(struct autofs_poin if ((rv != LDAP_SUCCESS) || !result) { crit(ap->logopt, MODPREFIX "query failed for %s", query); @@ -39,15 +66,3 @@ free(query); return CHE_FAIL; } -Index: autofs/CHANGELOG -=================================================================== ---- autofs.orig/CHANGELOG -+++ autofs/CHANGELOG -@@ -2,6 +2,7 @@ - ======================= - - fix ipv6 name for lookup fix. - - fix paged query more results check. -+- fix LDAP result leaks on error paths. - - 28/06/2011 autofs-5.0.6 - ----------------------- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org