[tor-bugs] #18480 [Core Tor/Tor]: Some tor time functions have undefined behavior with dates after 2037 and 32-bit time_t (was: Some tor time functions don't work after 2037 with 32-bit time_t)

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 23 16:02:40 UTC 2017


#18480: Some tor time functions have undefined behavior with dates after 2037 and
32-bit time_t
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.2.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  integer-overflow time-overflow tor-  |  Actual Points:
  relay 2038-problem                             |         Points:
Parent ID:                                       |  small/medium
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by nickm):

 * milestone:  Tor: unspecified => Tor: 0.3.2.x-final


Comment:

 To be clear, the problem here is not that 32-time_t systems will be in
 trouble when it's Y2038; the problem is if we can do integer overflows
 _now_ if the inputs are bogus.

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


More information about the tor-bugs mailing list