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

Jacques Vidrine nectar at FreeBSD.org
Mon Apr 21 08:44:27 PDT 2003


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


More information about the cvs-src mailing list