[tor-bugs] #24555 [Core Tor/Tor]: Bug: tor_gmtime_r overflow - gmtime(9223372036854775807) failed with error No error

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 7 22:52:28 UTC 2017


#24555: Bug: tor_gmtime_r overflow - gmtime(9223372036854775807) failed with error
No error
-------------------------+-------------------------------------------------
     Reporter:  s7r      |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core     |    Version:  Tor: unspecified
  Tor/Tor                |   Keywords:  integer-overflow time-overflow tor-
     Severity:  Normal   |  relay 2038-problem
Actual Points:           |  Parent ID:  #18480
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 It's here. FreeBSD 10.3 running `0.3.3.0-alpha-dev (git-
 e8a6a6635b26c327)`.

 Setting parent ticket the one with all time functions with undefined
 behavior.

 Relay:
 {{{
 Dec 06 04:10:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 04:10:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 09:07:16.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 11:04:16.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 11:04:16.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 12:15:25.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 15:24:16.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 17:15:17.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 06 20:16:16.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327
 Dec 07 12:09:37.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 Dec 07 13:03:18.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev e8a6a6635b26c327)
 }}}

 Bridge:
 {{{
 Dec 06 03:34:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev 1969d573637ee6f9)
 Dec 06 03:34:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev 1969d573637ee6f9)
 Dec 06 09:54:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev 1969d573637ee6f9)
 Dec 06 09:54:15.000 [warn] correct_tm: Bug: gmtime(9223372036854775807)
 failed with error No error: 0: Rounding down to 2037 (on Tor 0.3.3.0
 -alpha-dev 1969d573637ee6f9)
 }}}

 Time on the system is accurate and synced with ntp permanently.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24555>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list