From owner-cvs-all@FreeBSD.ORG Mon Apr 21 11:56:19 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B632137B401; Mon, 21 Apr 2003 11:56:19 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4345C43FDD; Mon, 21 Apr 2003 11:56:16 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.9/8.12.9) with ESMTP id h3LIuFgI034243; Mon, 21 Apr 2003 22:56:15 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.9/8.12.9/Submit) id h3LIuFKg034242; Mon, 21 Apr 2003 22:56:15 +0400 (MSD) Date: Mon, 21 Apr 2003 22:56:15 +0400 From: "Andrey A. Chernov" To: Jacques Vidrine Message-ID: <20030421185615.GA34222@nagual.pp.ru> References: <200304211544.h3LFiPJ6065083@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304211544.h3LFiPJ6065083@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/include nss_tls.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 18:56:20 -0000 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.