Artifacts Associated With Ticket 218656
Ticket change [1453234d5c] (rid 124376) by nobody on 2000-10-26 01:03:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1612 Bug Version: 8.1b2 SubmitDate: '1999-03-24' LastModified: '1999-04-15' Severity: CRIT Status: Released Submitter: pat ChangedBy: stanton RelatedBugIDs: 1192 OS: Windows NT OSVersion: Server 4.0 Service Pack 3 (Japanese) Machine: X86 FixedDate: '1999-04-15' FixedInVersion: 8.1b3 ClosedDate: '2000-10-25' Name: Taketo Kabe ReproducibleScript: # on WindowsNT, set env(TZ) JST-9 ;#Japan Stantard Time; 9 hours east clock format -32400 # any values between -32400 and -1 will crash the interp ObservedBehavior: The interpreter crashes. DesiredBehavior: return "Thu Jan 01 00:00:00 JST 1970" Only ease-of-GMT timezones seems to reveal this problem. Unfortunately I don't have build/debug environ for Windows, but I suspect that passing negative values to localtime() in win/tclTinTime.c:TclpGetDate() is causing the problem. If localtime() returned illegal (struct tm), it could crash as compat/strftime.c:_fmt() doesn't have any range checking. - foundin initialized to: "obsolete: 8.1b2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "48. Number Handling"
- title initialized to: ""clock format" crash on 1970 wraparound"
- type initialized to: "Bug"
Ticket change [d548bee7f2] (rid 123594) by welch on 2000-10-26 08:26:10:
- closedate changed to: "2000-10-26T01:26:10"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [0a2317d74f] (rid 113764) by dgp on 2001-04-05 06:56:33:
- closedate changed to: "2001-04-04T23:56:33"
- closer changed to: "dgp"
- subsystem changed to: "06. Time Measurement"
- title changed to: ""clock format" crash on 1970 wraparound"