Ian Kent 9a5a39
autofs-5.0.4 - clear the quoted flag after each character
Ian Kent 9a5a39
Ian Kent 9a5a39
From: Jeff Moyer <jmoyer@redhat.com>
Ian Kent 9a5a39
Ian Kent 9a5a39
This regression was introduced by autofs-5.0.4-fix-select-fd-limit.patch.
Ian Kent 9a5a39
The fix is to clear the quoted flag after processing each character from
Ian Kent 9a5a39
program map input.
Ian Kent 9a5a39
---
Ian Kent 9a5a39
Ian Kent 9a5a39
 CHANGELOG                |    1 +
Ian Kent 9a5a39
 modules/lookup_program.c |    1 +
Ian Kent 9a5a39
 2 files changed, 2 insertions(+)
Ian Kent 9a5a39
Ian Kent 9a5a39
Ian Kent 9a5a39
--- autofs-5.0.4.orig/CHANGELOG
Ian Kent 9a5a39
+++ autofs-5.0.4/CHANGELOG
Ian Kent 9a5a39
@@ -7,6 +7,7 @@
Ian Kent 9a5a39
 - fix select(2) fd limit.
Ian Kent 9a5a39
 - make hash table scale to thousands of entries (Paul Wankadia,
Ian Kent 9a5a39
   Valerie Aurora Henson).
Ian Kent 9a5a39
+- clear the quoted flag after each character from program map input.
Ian Kent 9a5a39
 
Ian Kent 9a5a39
 4/11/2008 autofs-5.0.4
Ian Kent 9a5a39
 -----------------------
Ian Kent 9a5a39
--- autofs-5.0.4.orig/modules/lookup_program.c
Ian Kent 9a5a39
+++ autofs-5.0.4/modules/lookup_program.c
Ian Kent 9a5a39
@@ -341,6 +341,7 @@ cont:
Ian Kent 9a5a39
 				/* Eat characters till there's no more output */
Ian Kent 9a5a39
 				break;
Ian Kent 9a5a39
 			}
Ian Kent 9a5a39
+			quoted = 0;
Ian Kent 9a5a39
 			goto cont;
Ian Kent 9a5a39
 		}
Ian Kent 9a5a39
 		quoted = 0;