This is the mail archive of the glibc-bugs@sources.redhat.com 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 libc/296] POSIX => AI_NUMERICHOST and address notation validity in getaddrinfo()


------- 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.


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