Blame SOURCES/glibc-rh789189.patch

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