Skip to content
Commit 32b599ac authored by Florian Weimer's avatar Florian Weimer
Browse files

nss_dns: In gaih_getanswer_slice, skip strange aliases (bug 12154)



If the name is not a host name, skip adding it to the result, instead
of reporting query failure.  This fixes bug 12154 for getaddrinfo.

This commit still keeps the old parsing code, and only adjusts when
a host name is copied.

Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent d101d836
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment