NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/50552: libc getaddrinfo() bug
>Number: 50552
>Category: lib
>Synopsis: getaddrinfo() fails 32bit decimal IP addresses (i.e. no octets)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 14 11:45:00 +0000 2015
>Originator: Kyle Amon
>Release: NetBSD 7.0
>Organization:
BackWatcher, Inc.
>Description:
Please reference Tor ticket #17846 for a thorough description.
https://trac.torproject.org/projects/tor/ticket/17846
Also note that RFC 3493 defines getaddrinfo() the same way POSIX does,
and that NetBSD's net(3) cites said RFC.
And for "low priority, will merge well written patches, probably not
actively core-developer must do" ...
https://svnweb.freebsd.org/base/stable/10/lib/libc/net/getaddrinfo.c?r1=160551&r2=160552
>How-To-Repeat:
Try...
# getaddrinfo 1755800511
getaddrinfo: No address associated with hostname
...which should do the same as...
# getaddrinfo 104.167.99.191
dgram inet udp 104.167.99.191 0
stream inet tcp 104.167.99.191 0
>Fix:
The fix is well covered in the foregoing.
>Unformatted:
>System: NetBSD nbsd4e.backwatcher.com 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Architecture: x86_64
>Machine: amd64
Home |
Main Index |
Thread Index |
Old Index