[tor-bugs] #18480 [Tor]: Some tor time functions don't work after 2037 with 32-bit time_t

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 4 16:34:58 UTC 2016


#18480: Some tor time functions don't work after 2037 with 32-bit time_t
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Medium  |  Milestone:  Tor: 0.2.9.x-final
    Component:  Tor     |    Version:
     Severity:  Normal  |   Keywords:  integer-overflow
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------
 The following tor time functions will overflow in 2037. We could improve
 their semantics by checking for overflow and checking if the functions we
 call succeed or return an error:
 * tor_gmtime_r
 * format_rfc1123_time
 * format_*iso_time*
 * parse_iso_time
 * parse_http_time

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


More information about the tor-bugs mailing list