Skip site navigation (1)Skip section navigation (2)
Date:      05 Apr 2003 00:56:54 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mike Makonnen <mtm@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/stdtime strptime.c
Message-ID:  <1049522213.55676.14.camel@shumai.marcuscom.com>
In-Reply-To: <200304050546.h355kiWS016377@repoman.freebsd.org>
References:  <200304050546.h355kiWS016377@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+jnAlb2iPiv4Uz4cRAgPhAKCryHq0NczNaAeclPiukxyHuFesNgCeNjka
m+/OCiwTnvaV/L/p/+hHKoE=
=6vGc
-----END PGP SIGNATURE-----

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