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:24:46 -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:24 -------
I notice the new line 588 in getaddrinfo.c
at->family = AF_INET6;
This is right and I think a similar line should be added after line 608
*(uint32_t *) at->addr = ((uint32_t *) at->addr)[3];
in the "opposite" case
at->family = AF_INET;
with new braces of course.
--
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.