Blob Blame History Raw
autofs-5.0.4 - clear the quoted flag after each character

From: Jeff Moyer <jmoyer@redhat.com>

This regression was introduced by autofs-5.0.4-fix-select-fd-limit.patch.
The fix is to clear the quoted flag after processing each character from
program map input.
---

 CHANGELOG                |    1 +
 modules/lookup_program.c |    1 +
 2 files changed, 2 insertions(+)


--- autofs-5.0.4.orig/CHANGELOG
+++ autofs-5.0.4/CHANGELOG
@@ -7,6 +7,7 @@
 - fix select(2) fd limit.
 - make hash table scale to thousands of entries (Paul Wankadia,
   Valerie Aurora Henson).
+- clear the quoted flag after each character from program map input.
 
 4/11/2008 autofs-5.0.4
 -----------------------
--- autofs-5.0.4.orig/modules/lookup_program.c
+++ autofs-5.0.4/modules/lookup_program.c
@@ -341,6 +341,7 @@ cont:
 				/* Eat characters till there's no more output */
 				break;
 			}
+			quoted = 0;
 			goto cont;
 		}
 		quoted = 0;