]>
Commit | Line | Data |
---|---|---|
1 | autofs-5.0.4 - clear the quoted flag after each character | |
2 | ||
3 | From: Jeff Moyer <jmoyer@redhat.com> | |
4 | ||
5 | This regression was introduced by autofs-5.0.4-fix-select-fd-limit.patch. | |
6 | The fix is to clear the quoted flag after processing each character from | |
7 | program map input. | |
8 | --- | |
9 | ||
10 | CHANGELOG | 1 + | |
11 | modules/lookup_program.c | 1 + | |
12 | 2 files changed, 2 insertions(+), 0 deletions(-) | |
13 | ||
14 | ||
15 | diff --git a/CHANGELOG b/CHANGELOG | |
16 | index 912c088..af77b55 100644 | |
17 | --- a/CHANGELOG | |
18 | +++ b/CHANGELOG | |
19 | @@ -7,6 +7,7 @@ | |
20 | - fix select(2) fd limit. | |
21 | - make hash table scale to thousands of entries (Paul Wankadia, | |
22 | Valerie Aurora Henson). | |
23 | +- clear the quoted flag after each character from program map input. | |
24 | ||
25 | 4/11/2008 autofs-5.0.4 | |
26 | ----------------------- | |
27 | diff --git a/modules/lookup_program.c b/modules/lookup_program.c | |
28 | index f62d3ef..9878936 100644 | |
29 | --- a/modules/lookup_program.c | |
30 | +++ b/modules/lookup_program.c | |
31 | @@ -341,6 +341,7 @@ cont: | |
32 | /* Eat characters till there's no more output */ | |
33 | break; | |
34 | } | |
35 | + quoted = 0; | |
36 | goto cont; | |
37 | } | |
38 | quoted = 0; |