On Wed, 16 Dec 2015 11:10:58 -0800
Serguey Parkhomovsky <sergueyparkhomov...@gmail.com> wrote:

> On Tue, Dec 15, 2015 at 01:08:22AM -0800, am...@backwatcher.com wrote:
> > >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.
> > 
> 
> This seems to have been fixed in -current. Verified by running:
> 
>       openbsd:~ sparkhom$ getent hosts 1755800511
>       104.167.99.19   11755800511

Cool, but it should be 104.167.99.191.  Maybe a cut and paste omission?

-- 
US 727-510-2772                           http://backwatcher.com

GPG F36E1CAB / CF001165F36E1CAB
    6050 05B7 9FF1 CC21 3F00  CEBB CF00 1165 F36E 1CAB

OTR 1B8CA85B 9696C3E0 CDE79B77 52D5F7E6 5492DBE2 : jabber/backwatcher.org
    5CF381C0 5F74307B 082E63E9 9EC509FA 85486180 : jabber/riseup.net
    3614B012 C81F85FD 71FC48A4 75D88B91 A0203B51 : jabber/jabber.ru
    DC446975 0D1CC62D 092E633C 2E3D3D82 B4CE1C47 : freenode
    B4B825A3 086F0716 2CA55061 A0F521EB 54C0AB2F : oftc
    744D942C D581087C ADDB11D2 E8E9FF59 B46481F3 : efnet
    4443188D 5CA26B63 6327F9CD 3349C795 7743110D : facebook
    4FB85A74 B2E1BBE3 20CD282E 8E8DD9B3 30EDAAC3 : google
    B0C46C9E DD3685C8 81182D51 B2D14BE9 A43CFE09 : icq
    41D60F67 7441ACFF 32CC2BF7 4EE70B17 08DA044F : aim
    30CD13B4 A25DAC7A 863F638A 9EE95FBB 15D320A9 : yahoo
    9FE919C7 7FD23FCB 5FF12636 A1F571B9 104AE5C1 : skype

Attachment: pgp8W4qUdVtJP.pgp
Description: OpenPGP digital signature

Reply via email to