Skip to content
Tcl Source Code History Of Ticket 218656
Login

History Of Ticket 218656

Artifacts Associated With Ticket 218656

  1. Ticket change [1453234d5c] (rid 124376) by nobody on 2000-10-26 01:03:46:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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.
          
      
      
    4. foundin initialized to: "obsolete: 8.1b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "48. Number Handling"
    10. title initialized to: ""clock format" crash on 1970 wraparound"
    11. type initialized to: "Bug"
  2. Ticket change [d548bee7f2] (rid 123594) by welch on 2000-10-26 08:26:10:

    1. closedate changed to: "2000-10-26T01:26:10"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [0a2317d74f] (rid 113764) by dgp on 2001-04-05 06:56:33:

    1. closedate changed to: "2001-04-04T23:56:33"
    2. closer changed to: "dgp"
    3. subsystem changed to: "06. Time Measurement"
    4. title changed to: ""clock format" crash on 1970 wraparound"