diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-08-30 10:02:49 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-08-30 10:02:49 +0200 |
commit | d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa (patch) | |
tree | b0b0600484def43550302bd5152fe7c6d248abcf /nss/nss_test.h | |
parent | a7fc30b522a0cd7c8c5e7e285b9531b704e02f04 (diff) | |
download | glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.tar glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.tar.gz glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.tar.bz2 glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.zip |
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>
Diffstat (limited to 'nss/nss_test.h')
0 files changed, 0 insertions, 0 deletions