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
BackWatcher, Inc.
Please reference Tor ticket #17846 for a thorough description.

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


# getaddrinfo 1755800511
getaddrinfo: No address associated with hostname

...which should do the same as...

# getaddrinfo
dgram inet udp 0
stream inet tcp 0

The fix is well covered in the foregoing.

 >System: NetBSD 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
 >Architecture: x86_64
 >Machine: amd64

Home | Main Index | Thread Index | Old Index