Skip to content
Snippets Groups Projects
Open Some tor time functions have undefined behavior with dates after 2037 and 32-bit time_t
  • View options
  • Some tor time functions have undefined behavior with dates after 2037 and 32-bit time_t

  • View options
  • Open Issue created by teor

    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
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading