1 |
diff -up bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 bind-9.7.2-P3/lib/lwres/lwconfig.c |
2 |
--- bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 2011-01-28 14:48:38.934472578 +0100 |
3 |
+++ bind-9.7.2-P3/lib/lwres/lwconfig.c 2011-01-28 14:49:50.421326035 +0100 |
4 |
@@ -612,6 +612,10 @@ lwres_conf_parse(lwres_context_t *ctx, c |
5 |
break; |
6 |
} |
7 |
|
8 |
+ /* Ignore options with no parameters */ |
9 |
+ if (stopchar == '\n') |
10 |
+ continue; |
11 |
+ |
12 |
if (strlen(word) == 0U) |
13 |
rval = LWRES_R_SUCCESS; |
14 |
else if (strcmp(word, "nameserver") == 0) |