Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > a0ef309aba3a78d3350b149f382e72aa > files > 73

bind-9.3.6-25.P1.el5_11.12.src.rpm

diff -up bind-9.3.6-P1/lib/lwres/lwconfig.c.rh703451 bind-9.3.6-P1/lib/lwres/lwconfig.c
--- bind-9.3.6-P1/lib/lwres/lwconfig.c.rh703451	2011-10-26 17:14:14.350918730 +0200
+++ bind-9.3.6-P1/lib/lwres/lwconfig.c	2011-10-26 17:14:37.084917151 +0200
@@ -589,6 +589,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)