rpms/autofs/devel autofs-5.0.4-fix-program-map-quoted-output.patch, NONE, 1.1 autofs.spec, 1.262, 1.263

Jeffrey E. Moyer jmoyer at fedoraproject.org
Wed Jan 21 21:52:07 UTC 2009


Author: jmoyer

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

Modified Files:
	autofs.spec 
Added Files:
	autofs-5.0.4-fix-program-map-quoted-output.patch 
Log Message:
- fix a bug in the program map parsing routine
- Resolves: bz#481008



autofs-5.0.4-fix-program-map-quoted-output.patch:

--- NEW FILE autofs-5.0.4-fix-program-map-quoted-output.patch ---
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;


Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -r1.262 -r1.263
--- autofs.spec	15 Jan 2009 03:47:47 -0000	1.262
+++ autofs.spec	21 Jan 2009 21:51:36 -0000	1.263
@@ -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 @@
 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 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -117,6 +119,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Wed Jan 21 2009 Jeff Moyer <jmoyer at redhat.com> - 5.0.4-6
+- fix a bug in the program map parsing routine
+
 * Thu Jan 15 2009 Ian Kent <kent at redhat.com> - 5.0.4-5
 - fix negative caching of non-existent keys.
 - fix ldap library detection in configure.




More information about the fedora-extras-commits mailing list