cvs commit: src/lib/libc/stdtime strptime.c

Joe Marcus Clarke marcus at marcuscom.com
Fri Apr 4 21:57:05 PST 2003


On Sat, 2003-04-05 at 00:46, Mike Makonnen wrote:
> 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.

Thanks!

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030405/019d7898/attachment.bin


More information about the cvs-src mailing list