This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nss/20532] getaddrinfo uses errno and h_errno without guaranteeing they're set, wrong errors returned by gaih_inet when lookup functions are not found.


https://sourceware.org/bugzilla/show_bug.cgi?id=20532

--- Comment #2 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
(In reply to Florian Weimer from comment #1)
> Is this related to these mailing list threads?
> 
>   https://sourceware.org/ml/libc-alpha/2016-07/msg00341.html
>   https://sourceware.org/ml/libc-alpha/2016-07/msg00618.html

That is problem #2.  Problem #1 is different and may just be a matter of
resetting errno before trying callbacks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]