Skip to content
Commit c36e7cca 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>
(cherry picked from commit 32b599ac)
parent 9abc40d9
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