rpms/autofs/devel autofs-5.0.4-another-easy-alloca-replacements-fix.patch, NONE, 1.1 autofs.spec, 1.272, 1.273

Ian Kent iankent at fedoraproject.org
Fri Mar 13 01:11:31 UTC 2009


Author: iankent

Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23558

Modified Files:
	autofs.spec 
Added Files:
	autofs-5.0.4-another-easy-alloca-replacements-fix.patch 
Log Message:
* Fri Mar 13 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-19
- another easy alloca replacements fix.


autofs-5.0.4-another-easy-alloca-replacements-fix.patch:

--- NEW FILE autofs-5.0.4-another-easy-alloca-replacements-fix.patch ---
autofs-5.0.4 - another easy alloca replacements fix

From: Ian Kent <raven at themaw.net>

Fix array out of bounds access in modules/lookup_ldap.c:get_query_dn().
---

 CHANGELOG             |    1 +
 modules/lookup_ldap.c |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/CHANGELOG b/CHANGELOG
index 8860b2c..4df6a60 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -29,6 +29,7 @@
 - fix bad token declaration in master map parser.
 - fix return start status on fail.
 - fix double free in expire_proc().
+- another easy alloca replacements fix.
 
 4/11/2008 autofs-5.0.4
 -----------------------
diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c
index 547ca01..5a54b5f 100644
--- a/modules/lookup_ldap.c
+++ b/modules/lookup_ldap.c
@@ -323,7 +323,6 @@ static int get_query_dn(unsigned logopt, LDAP *ldap, struct lookup_context *ctxt
 		}
 		scope = LDAP_SCOPE_SUBTREE;
 	}
-	query[l] = '\0';
 
 	if (!ctxt->base) {
 		sdns = defaults_get_searchdns();


Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -r1.272 -r1.273
--- autofs.spec	12 Mar 2009 03:16:04 -0000	1.272
+++ autofs.spec	13 Mar 2009 01:10:58 -0000	1.273
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.4
-Release: 18
+Release: 19
 Epoch: 1
 License: GPLv2+
 Group: System Environment/Daemons
@@ -39,6 +39,7 @@
 Patch27: autofs-5.0.4-fix-bad-token-declare.patch
 Patch28: autofs-5.0.4-fix-return-start-status-on-fail.patch
 Patch29: autofs-5.0.4-fix-double-free-in-expire_proc.patch
+Patch30: autofs-5.0.4-another-easy-alloca-replacements-fix.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel module-init-tools util-linux nfs-utils e2fsprogs libtirpc-devel
 Requires: kernel >= 2.6.17
@@ -109,6 +110,7 @@
 %patch27 -p1
 %patch28 -p1
 %patch29 -p1
+%patch30 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -161,6 +163,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Fri Mar 13 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-19
+- another easy alloca replacements fix.
+
 * Thu Mar 12 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-18
 - fix return start status on fail.
 - fix double free in expire_proc().




More information about the fedora-extras-commits mailing list