- fix file handle leak in nsswitch parser.

- fix memory leak in mount and expire request processing.
- add additional check to prevent running of cancelled tasks.
- fix potential file handle leakage in rpc_subs.c for some failure cases.
- fix file handle leak in included map lookup.
This commit is contained in:
ikent 2006-10-13 04:56:41 +00:00
parent 1fd6090bae
commit dc68991d6b

View File

@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems.
Name: autofs
%define version 5.0.1
%define release 0.rc2.10
%define release 0.rc2.11
Version: %{version}
Release: %{release}
Epoch: 1
@ -24,6 +24,11 @@ Patch9: autofs-5.0.1-rc2-mount_nfs-use-fstype.patch
Patch10: autofs-5.0.1-rc2-get_query_dn-subtree.patch
Patch11: autofs-5.0.1-rc2-long-timout-option-use-space.patch
Patch12: autofs-5.0.1-rc2-masked_match-hostname-independent.patch
Patch13: autofs-5.0.1-rc2-nss-parse-fd-leak.patch
Patch14: autofs-5.0.1-rc2-request-memory-leak.patch
Patch15: autofs-5.0.1-rc2-cancelled-check.patch
Patch16: autofs-5.0.1-rc2-rpc_subs-fd-leak.patch
Patch17: autofs-5.0.1-rc2-included-map-lookup-fd-leak.patch
Buildroot: /var/tmp/autofs-tmp
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
Prereq: chkconfig
@ -76,6 +81,11 @@ echo %{version}-%{release} > .version
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@ -132,6 +142,13 @@ exit 0
%{_libdir}/autofs/*
%changelog
* Fri Oct 13 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.11
- fix file handle leak in nsswitch parser.
- fix memory leak in mount and expire request processing.
- add additional check to prevent running of cancelled tasks.
- fix potential file handle leakage in rpc_subs.c for some failure cases.
- fix file handle leak in included map lookup.
* Sat Oct 7 2006 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc2.10
- fix get_query_dn not looking in subtree for LDAP search.
- allow syntax "--timeout <secs>" for backward compatibility