Removal of bogus gethostbyaddr_r()

Kris Kennaway kris at obsecurity.org
Wed Jun 18 14:12:17 PDT 2003


On Wed, Jun 18, 2003 at 02:17:29PM -0400, Daniel Eischen wrote:
> On Wed, 18 Jun 2003, Terry Lambert wrote:
> 
> > Daniel Eischen wrote:
> > > On Wed, 18 Jun 2003, Kris Kennaway wrote:
> > > > Any objections?
> > > 
> > > Why is this bogus?  Do we have another gethostbyaddr_r hiding
> > > somewhere?
> > 
> > It lies?  (_r).
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20030618/80778cfa/attachment.bin


More information about the freebsd-threads mailing list