This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/296] POSIX => AI_NUMERICHOST and address notation validity in getaddrinfo()
- From: "a dot guru at sympatico dot ca" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 5 Aug 2004 20:10:37 -0000
- Subject: [Bug libc/296] POSIX => AI_NUMERICHOST and address notation validity in getaddrinfo()
- References: <20040801222035.296.a.guru@sympatico.ca>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From a dot guru at sympatico dot ca 2004-08-05 20:10 -------
The new logic on line 578 of getaddrinfo.c
if (__inet_aton (name, (struct in_addr *) at->addr) != 0)
is incorrect. Only the form recognized by inet_pton() should be valid
when req->ai_family == AF_INET6 according to the standard. This is no
longer the case now. The logic in the patch I submitted is correct and
I believe it is not possible to reduce it to a liter form and still
remain correct.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sources.redhat.com/bugzilla/show_bug.cgi?id=296
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.