[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs