Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 380afce561c36ae3b99722c7c6f91cfb > files > 35

bind-9.10.1.P2-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)