>Synopsis:      getaddrinfo() fails 32bit decimal IP addresses (i.e. no octets)
>Category:      library
>Environment:
        System      : OpenBSD 5.8
        Details     : OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015
                         
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
Please reference NetBSD PR #50552 for a thorough description.
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50552
>How-To-Repeat:
OpenBSD doesn't have the getaddrinfo(1) utility (see above referenced
NetBSD PR), so it's a little less easy to exhibit the issue on OpenBSD,
but basically just pass a 32bit decimal IP address (e.g. 1755800511) to
getaddrinfo(3) via any expeditions means.
>Fix:
The fix is well covered in the foregoing reference.

Reply via email to