diff options
author | mtm <mtm@FreeBSD.org> | 2003-04-05 05:46:43 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-04-05 05:46:43 +0000 |
commit | 80f7682694bee604ce863e85d3059073d2772839 (patch) | |
tree | d962f3454fd9adcb261dc657468ff04170ae0fd4 /lib/libc/stdlib | |
parent | f56971b4a932159fe9e810a47feec1829c2a2fbc (diff) | |
download | FreeBSD-src-80f7682694bee604ce863e85d3059073d2772839.zip FreeBSD-src-80f7682694bee604ce863e85d3059073d2772839.tar.gz |
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)
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions