Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > dde27df0c3aeb3f1197daec21fdf5ae9 > files > 36

bind-9.10.8.P1-1.mga6.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)