From dc68991d6be362ab81ee38a49c3b231eef863e3c Mon Sep 17 00:00:00 2001 From: ikent Date: Fri, 13 Oct 2006 04:56:41 +0000 Subject: [PATCH] - 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. --- autofs.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/autofs.spec b/autofs.spec index 0e98c78..b2d7880 100644 --- a/autofs.spec +++ b/autofs.spec @@ -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 - 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 - 5.0.1-0.rc2.10 - fix get_query_dn not looking in subtree for LDAP search. - allow syntax "--timeout " for backward compatibility