Blame SOURCES/glibc-rh789189.patch

b9ba6d
diff -rup a/resolv/res_init.c b/resolv/res_init.c
b9ba6d
--- a/resolv/res_init.c	2010-05-04 05:27:23.000000000 -0600
b9ba6d
+++ b/resolv/res_init.c	2012-02-10 10:20:24.923578396 -0700
b9ba6d
@@ -325,7 +325,7 @@ __res_vinit(res_state statp, int preinit
b9ba6d
                         struct in6_addr a6;
b9ba6d
                         char *el;
b9ba6d
 
b9ba6d
-                        if ((el = strchr(cp, '\n')) != NULL)
b9ba6d
+                        if ((el = strpbrk(cp, " \t\n")) != NULL)
b9ba6d
                             *el = '\0';
b9ba6d
 			if ((el = strchr(cp, SCOPE_DELIMITER)) != NULL)
b9ba6d
 			    *el = '\0';