Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 14:12:15 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Removal of bogus gethostbyaddr_r()
Message-ID:  <20030618211215.GC21622@rot13.obsecurity.org>
In-Reply-To: <Pine.GSO.4.10.10306181413010.16088-100000@pcnet5.pcnet.com>
References:  <3EF09656.CF1614A5@mindspring.com> <Pine.GSO.4.10.10306181413010.16088-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 18, 2003 at 02:17:29PM -0400, Daniel Eischen wrote:
> On Wed, 18 Jun 2003, Terry Lambert wrote:
>=20
> > Daniel Eischen wrote:
> > > On Wed, 18 Jun 2003, Kris Kennaway wrote:
> > > > Any objections?
> > >=20
> > > Why is this bogus?  Do we have another gethostbyaddr_r hiding
> > > somewhere?
> >=20
> > It lies?  (_r).
>=20
> If that's true, then it's a bug and eventually should
> be fixed.  Additionally, you can't go around removing
> public interfaces without bumping library versions
> (unless said interface hasn't seen a release yet).

It's not a public interface since it's not prototyped, but a number of
ports (>27) are finding it anyway and then presumably failing to work
correctly because they think they're getting a re-entrant
gethostbyaddr() but are not (alternatively, because they're guessing
the wrong prototype and will fail to work due to LP64 issues).

Please look into the CVS history of this change - it was not mentioned
in the commit log by julian, and it looks to me like it was committed
accidentally (Julian hasn't responded to 2 mails enquiring about it
though).

Kris

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+8NWvWry0BWjoQKURAh2+AJ9ZMtIL2xqYYY4JWgBwV8EmJtl3JACfUn/t
/qXD5SwHI4uOzoGKyrf7A2A=
=8jTt
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030618211215.GC21622>