Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Sep 2022 19:31:04 -0400
From: Rich Felker <>
Subject: Re: EAI_NODATA in musl

On Mon, Sep 19, 2022 at 06:26:07PM -0400, Rich Felker wrote:
> [...]
> Some details to work out:
> 1. getaddrinfo errors out with EAI_NONAME early when AI_ADDRCONFIG
>    finds that the requested address family is not configured. The
>    logic here probably needs to be changed to still perform a lookup
>    but suppress the results if all requested families were precluded
> 2. gethostbyname* need to process EAI_NODATA and convert to (already
>    existing) NO_DATA.
> 3. There was one other point where EAI_NONAME appeared in
>    lookup_name.c but it was wrong and just fixed by 1e7fb12f77.
> Anything else?

Updated patch attached addressing the above.

View attachment "nodata2.diff" of type "text/plain" (3028 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.