cvs commit: src/lib/libc/include nss_tls.h

Jacques A. Vidrine nectar at FreeBSD.org
Mon Apr 21 11:57:47 PDT 2003


On Mon, Apr 21, 2003 at 10:56:15PM +0400, Andrey A. Chernov wrote:
> On Mon, Apr 21, 2003 at 08:44:25 -0700, Jacques Vidrine wrote:
> > nectar      2003/04/21 08:44:25 PDT
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     lib/libc/include     nss_tls.h 
> >   Log:
> >   Correct a bug that was somehow both obvious and hard-to-see. :-)
> >   An incorrectly-sized allocation was being made due to an incorrect
> >   argument to the `sizeof' operator.  Obvious, because it violated the
> >   `foo = malloc(sizeof(*foo))' idiom.  Hard-to-see, because it was a
> >   missing `*' (`*p' versus `**p').
> >   
> >   Resulting failure was
> >   Reported by:    ache
> 
> Thanx, "indexer" bug is gone after this commit.

Great!  Thanks for your report and your patience.

Cheers,
-- 
Jacques A. Vidrine <nectar at celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine at verio.net     .  nectar at FreeBSD.org  .          nectar at kth.se


More information about the cvs-src mailing list