FW: apparent bug in 7/26/06 version of 'tzload()'
Olson, Arthur David (NIH/NCI) [E]
olsona at dc37a.nci.nih.gov
Thu Jul 27 18:20:11 UTC 2006
David Lawless is not on the time zone mailing list; direct replies
appropriately.
-----Original Message-----
From: David Lawless [mailto:lawless at spamcop.net]
Sent: Thursday, July 27, 2006 2:04 PM
To: tz at lecserver.nci.nih.gov
Subject: apparent bug in 7/26/06 version of 'tzload()'
While experimenting with 'localhost.c' I discovered a bug in
'localtime.c' in 'tzload()'. The last few lines setup two flags
'goback' and 'goahead'. This code executes some invalid negative-offset
array dereferences when the number of points in the array is too small.
RHEL4.3 (CentOS 4.3) has zone files with fewer than 800 years in them
and provokes this.
I believe the attached patch corrects the problem. However I don't
understand the purpose of the code and may have got it wrong.
Please CC my e-mail with any replies as I'm not on the mailing list.
Regards,
David Lawless
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localtime.patch
Type: application/octet-stream
Size: 897 bytes
Desc: localtime.patch
URL: <http://mm.icann.org/pipermail/tz/attachments/20060727/80f777a1/attachment.obj>
More information about the tz
mailing list