- another easy alloca replacements fix.
This commit is contained in:
parent
4816d7da62
commit
923ea051de
36
autofs-5.0.4-another-easy-alloca-replacements-fix.patch
Normal file
36
autofs-5.0.4-another-easy-alloca-replacements-fix.patch
Normal file
@ -0,0 +1,36 @@
|
||||
autofs-5.0.4 - another easy alloca replacements fix
|
||||
|
||||
From: Ian Kent <raven@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();
|
@ -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 @@ Patch26: autofs-5.0.4-add-nfs-mount-proto-default-conf-option.patch
|
||||
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 @@ echo %{version}-%{release} > .version
|
||||
%patch27 -p1
|
||||
%patch28 -p1
|
||||
%patch29 -p1
|
||||
%patch30 -p1
|
||||
|
||||
%build
|
||||
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
||||
@ -161,6 +163,9 @@ fi
|
||||
%{_libdir}/autofs/
|
||||
|
||||
%changelog
|
||||
* Fri Mar 13 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-19
|
||||
- another easy alloca replacements fix.
|
||||
|
||||
* Thu Mar 12 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-18
|
||||
- fix return start status on fail.
|
||||
- fix double free in expire_proc().
|
||||
|
Loading…
Reference in New Issue
Block a user