Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 21:46:44 -0800 (PST)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdtime strptime.c
Message-ID:  <200304050546.h355kiWS016377@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2003/04/04 21:46:44 PST

  FreeBSD src repository

  Modified files:
    lib/libc/stdtime     strptime.c 
  Log:
  Zero out the struct tm supplied by the caller. Otherwise,
  strange things might happen when garbage values in the struct
  get passed in to localtime_r() and family.
  
  Noticed by:     marcus
  Approved by:    markm (mentor)(implicit)
  
  Revision  Changes    Path
  1.33      +1 -0      src/lib/libc/stdtime/strptime.c



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