49cf061d17
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/bind#293d93455e05945f11b4ee320db6a2fa4f31e43c
15 lines
511 B
Diff
15 lines
511 B
Diff
diff -up bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 bind-9.7.2-P3/lib/lwres/lwconfig.c
|
|
--- bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 2011-01-28 14:48:38.934472578 +0100
|
|
+++ bind-9.7.2-P3/lib/lwres/lwconfig.c 2011-01-28 14:49:50.421326035 +0100
|
|
@@ -612,6 +612,10 @@ lwres_conf_parse(lwres_context_t *ctx, c
|
|
break;
|
|
}
|
|
|
|
+ /* Ignore options with no parameters */
|
|
+ if (stopchar == '\n')
|
|
+ continue;
|
|
+
|
|
if (strlen(word) == 0U)
|
|
rval = LWRES_R_SUCCESS;
|
|
else if (strcmp(word, "nameserver") == 0)
|