This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[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.
- From: "siddhesh at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 29 Aug 2016 10:33:51 +0000
- Subject: [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.
- Auto-submitted: auto-generated
- References: <bug-20532-131@http.sourceware.org/bugzilla/>
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.