OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Security-Discuss] apparent bug in 2006.0 timezone update for Java code

From: Vincent Danen (vdanenmandriva.com)
Date: Mon Oct 16 2006 - 10:29:40 CDT


On Oct-16-06, at 7:09 AM, Robert M. Riches Jr. wrote:

> I'm seeing an apparent bug in the 2006.0 timezone (and glibc)
> update that only affects Java code. The 'date' command shows
> the correct time. C code that uses gettimeofday() and
> localtime() gets the correct time. However, Java code that
> uses Calendar.getInstance() is now returning the time in UTC,
> while it has always returned the time in the local time zone.
> I'm using j2sdk-1.4.2_09-1mdk and j2re-1.4.2_09-1mdk supplied
> by Mandriva, in the club commercial area IIRC.
>
> Any suggestions before I file a bug report?

I don't use java here, so I'm not sure. But maybe Gwenole has an idea?

--
{FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4}
mysql> SELECT * FROM users WHERE clue > 0;
Empty set (0.00sec)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFM6VkLrxeMv7jCtQRAs60AJ9kmHDdKGoFQ2+QX7Y0DoSlU19E9QCfRcZT
1nnIgjZdz661xuQD5FIU/RQ=
=R4uj
-----END PGP SIGNATURE-----