glibc/resolv/nss_dns
Florian Weimer d101d836e7 nss_dns: Rewrite getanswer_r to match getanswer_ptr (bug 12154, bug 29305)
Allocate the pointer arrays only at the end, when their sizes
are known.  This addresses bug 29305.

Skip over invalid names instead of failing lookups.  This partially
fixes bug 12154 (for gethostbyname, fixing getaddrinfo requires
different changes).

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2022-08-30 10:02:49 +02:00
..
dns-canon.c Replace {u}int_fast{16|32} with {u}int32_t 2022-04-13 21:23:04 -05:00
dns-host.c nss_dns: Rewrite getanswer_r to match getanswer_ptr (bug 12154, bug 29305) 2022-08-30 10:02:49 +02:00
dns-network.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00