Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 08:44:25 -0700 (PDT)
From:      Jacques Vidrine <nectar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/include nss_tls.h
Message-ID:  <200304211544.h3LFiPJ6065083@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.2       +1 -1      src/lib/libc/include/nss_tls.h



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