cvs commit: src/lib/libc/stdtime strptime.c
    Mike Makonnen 
    mtm at FreeBSD.org
       
    Fri Apr  4 21:46:45 PST 2003
    
    
  
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
    
    
More information about the cvs-all
mailing list