- fix a bug in the program map parsing routine

- Resolves: bz#481008
This commit is contained in:
Jeffrey E. Moyer 2009-01-21 21:51:36 +00:00
parent 3dce4e3339
commit 1d2ef99973
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -up autofs-5.0.4/modules/lookup_program.c.orig autofs-5.0.4/modules/lookup_program.c
--- autofs-5.0.4/modules/lookup_program.c.orig 2009-01-21 14:33:50.000000000 -0500
+++ autofs-5.0.4/modules/lookup_program.c 2009-01-21 14:39:35.113105023 -0500
@@ -341,6 +341,7 @@ cont:
/* Eat characters till there's no more output */
break;
}
+ quoted = 0;
goto cont;
}
quoted = 0;

View File

@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.4
Release: 5
Release: 6
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
@ -17,6 +17,7 @@ Patch4: autofs-5.0.4-fix-ldap-detection.patch
Patch5: autofs-5.0.4-use-CLOEXEC-flag.patch
Patch6: autofs-5.0.4-fix-select-fd-limit.patch
Patch7: autofs-5.0.4-make-hash-table-scale-to-thousands-of-entries.patch
Patch8: autofs-5.0.4-fix-program-map-quoted-output.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
Requires: kernel >= 2.6.17
@ -65,6 +66,7 @@ echo %{version}-%{release} > .version
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@ -117,6 +119,9 @@ fi
%{_libdir}/autofs/
%changelog
* Wed Jan 21 2009 Jeff Moyer <jmoyer@redhat.com> - 5.0.4-6
- fix a bug in the program map parsing routine
* Thu Jan 15 2009 Ian Kent <kent@redhat.com> - 5.0.4-5
- fix negative caching of non-existent keys.
- fix ldap library detection in configure.