Subject: Re: recent 1-6 branch libc and mozilla (etc.)
To: None <current-users@netbsd.org>
From: Steve Rumble <rumble@ephemeral.org>
List: current-users
Date: 10/08/2003 18:37:40
Is anybody else having a problem with this change in -current (r1.57)?
It appears that the modification to the BOUNDS_CHECK() macro breaks
resolving in libc and gethostbyname() spits out "Unknown server error".
If I revert to the off-by-one "if ((ptr)+(count) > eom) { \" code it
works again.

-Steve

On Wed, 8 Oct 2003 17:53:20 +0900
Toru TAKAMIZU <ttaka@earth.email.ne.jp> wrote:

> Tue, Oct 07, 2003 at 08:07:21PM +0900
> Toru TAKAMIZU wrote:
> 
> > The result is:
> > 
> > 1.42.2.10 -> NG
> > 1.42.2.9 -> OK
> 
> The cause seems to be that my nameserver does not return authority and
> additional sections. If I change my nameserver to a decent one,
> mozilla works fine even with rev 1.42.2.10
> (lib/libc/net/gethnamaddr.c).
> 
> The cause is the same one as an anonymous user who exchanged
> several emails with itojun revealed.
> 
> Many thanks to all of you.