Sophie

Sophie

distrib > Mageia > 8 > armv7hl > by-pkgid > 3f951ec9f377ad3187dc3eeb01217c6a > files > 40

bind-9.11.27-1.mga8.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)