Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 22:56:15 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Jacques Vidrine <nectar@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/include nss_tls.h
Message-ID:  <20030421185615.GA34222@nagual.pp.ru>
In-Reply-To: <200304211544.h3LFiPJ6065083@repoman.freebsd.org>
References:  <200304211544.h3LFiPJ6065083@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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