public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
@ 2011-04-28 19:58 mbabinski at google dot com
2011-04-28 19:59 ` [Bug libc/12714] " mbabinski at google dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mbabinski at google dot com @ 2011-04-28 19:58 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12714
Summary: getaddrinfo(AF_INET6) does not return scope_id info
provided by NSS modules
Product: glibc
Version: 2.13
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: mbabinski@google.com
It looks like this is a problem caused by overeager optimization: gaih_inet()
falls back to using the faster _nss_*_gethostbyname2_r when the address family
is specified explicitly. This function is incapable of returning scope_id info,
so _gethostbyname4_r should be used whenever the NSS module implements it, and
there is a possibility that an AF_INET6 address needs to be returned.
Patch attached.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/12714] getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-04-28 19:58 [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules mbabinski at google dot com
@ 2011-04-28 19:59 ` mbabinski at google dot com
2011-04-30 14:13 ` ppluzhnikov at google dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mbabinski at google dot com @ 2011-04-28 19:59 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12714
--- Comment #1 from Maciej Babinski <mbabinski at google dot com> 2011-04-28 19:58:55 UTC ---
Created attachment 5694
--> http://sourceware.org/bugzilla/attachment.cgi?id=5694
Patch to resolve the issue.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/12714] getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-04-28 19:58 [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules mbabinski at google dot com
2011-04-28 19:59 ` [Bug libc/12714] " mbabinski at google dot com
@ 2011-04-30 14:13 ` ppluzhnikov at google dot com
2011-05-03 1:12 ` drepper.fsp at gmail dot com
2014-06-27 13:28 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: ppluzhnikov at google dot com @ 2011-04-30 14:13 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12714
Paul Pluzhnikov <ppluzhnikov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at google dot
| |com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/12714] getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-04-28 19:58 [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules mbabinski at google dot com
2011-04-28 19:59 ` [Bug libc/12714] " mbabinski at google dot com
2011-04-30 14:13 ` ppluzhnikov at google dot com
@ 2011-05-03 1:12 ` drepper.fsp at gmail dot com
2014-06-27 13:28 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-03 1:12 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=12714
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-03 01:11:59 UTC ---
I applied the patch with one more change.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/12714] getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-04-28 19:58 [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules mbabinski at google dot com
` (2 preceding siblings ...)
2011-05-03 1:12 ` drepper.fsp at gmail dot com
@ 2014-06-27 13:28 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:28 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=12714
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-27 13:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 19:58 [Bug libc/12714] New: getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules mbabinski at google dot com
2011-04-28 19:59 ` [Bug libc/12714] " mbabinski at google dot com
2011-04-30 14:13 ` ppluzhnikov at google dot com
2011-05-03 1:12 ` drepper.fsp at gmail dot com
2014-06-27 13:28 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).