glibc/glibc-rh168253-resolv-tests-nondeterministic.patch
Florian Weimer ab210104fb - Auto-sync with upstream branch release/2.25/master
Upstream commit: edcf13e25c1559558a6f12ff5a71d4136a39235e

- PTHREAD_STACK_MIN is too small on x86-64 (#1527887)
- CVE-2018-1000001: Make getcwd fail if it cannot obtain an absolute path
  (#1533837)
- CVE-2017-16997: Check for empty tokens before dynamic string token
  expansion in the dynamic linker (#1526866)
- CVE-2017-15804: glob: Fix overflow in GLOB_TILDE unescaping (swbz#22332)
- CVE-2017-15670: glob: Fix one-byte overflow (#1504807)
- CVE-2017-15671: glob: Fix memory leak (#1504807)
- nss_files: Avoid large buffers with many host addresses (swbz#22078)
- nss_files: Use struct scratch_buffer for gethostbyname (swbz#18023)
- posix: Fix improper assert in Linux posix_spawn (BZ#22273)
- Don't use IFUNC resolver for longjmp or system in libpthread (swbz#21041)
- x86-64: Use fxsave/xsave/xsavec in _dl_runtime_resolve (swbz#21265)
2018-01-17 16:10:03 +01:00

34 lines
1.3 KiB
Diff

commit 9f5a1271315b0e7c7828f2d8077ab33dca3ee8bd
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Jul 6 14:03:39 2017 +0200
resolv: Deal with non-deterministic address order in tst-resolv-basic
diff --git a/resolv/tst-resolv-basic.c b/resolv/tst-resolv-basic.c
index 95aea1bcfb266017..66a0e8a1659219b4 100644
--- a/resolv/tst-resolv-basic.c
+++ b/resolv/tst-resolv-basic.c
@@ -495,22 +495,6 @@ do_test (void)
test_bug_21295 ();
test_nodata_nxdomain ();
- /* Test for bug 21295. */
- check_ai_hints ("www.example", "80",
- (struct addrinfo) { .ai_family = AF_INET6,
- .ai_socktype = SOCK_STREAM,
- .ai_flags = AI_V4MAPPED | AI_ALL, },
- "flags: AI_V4MAPPED AI_ALL\n"
- "address: STREAM/TCP 2001:db8::1 80\n"
- "address: STREAM/TCP ::ffff:192.0.2.17 80\n");
- check_ai_hints ("t.www.example", "80",
- (struct addrinfo) { .ai_family = AF_INET6,
- .ai_socktype = SOCK_STREAM,
- .ai_flags = AI_V4MAPPED | AI_ALL, },
- "flags: AI_V4MAPPED AI_ALL\n"
- "address: STREAM/TCP 2001:db8::3 80\n"
- "address: STREAM/TCP ::ffff:192.0.2.19 80\n");
-
resolv_test_end (aux);
return 0;