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

Andrey A. Chernov ache at nagual.pp.ru
Mon Apr 21 11:56:20 PDT 2003


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.



More information about the cvs-src mailing list