Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 98d4aae817288860041c0e842fcbd96f > files > 36

bind-9.10.3.P4-1.2.mga5.src.rpm

diff -Naurp bind-9.9.5/lib/lwres/lwconfig.c bind-9.9.5.oden/lib/lwres/lwconfig.c
--- bind-9.9.5/lib/lwres/lwconfig.c	2014-02-02 14:26:09.398336732 +0100
+++ bind-9.9.5.oden/lib/lwres/lwconfig.c	2014-02-02 14:26:18.464337239 +0100
@@ -613,6 +613,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)