aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-08-30 10:02:49 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-08-30 10:02:49 +0200
commitd101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa (patch)
treeb0b0600484def43550302bd5152fe7c6d248abcf /dlfcn
parenta7fc30b522a0cd7c8c5e7e285b9531b704e02f04 (diff)
downloadglibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.zip
glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.tar.gz
glibc-d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa.tar.bz2
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 'dlfcn')
0 files changed, 0 insertions, 0 deletions