[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18479 [Tor]: Avoid overflow in tor_timegm when time_t is 32 bit
#18479: Avoid overflow in tor_timegm when time_t is 32 bit
------------------------+--------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: unspecified
Severity: Normal | Keywords: integer-overflow
Actual Points: | Parent ID:
Points: | Sponsor:
------------------------+--------------------------------
tor_timegm overflows for dates in and after 2037 when time_t is 32-bit.
Instead, we should warn and return an error.
This is a bugfix on 3c4b4c8ca in tor-0.0.2pre14.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18479>
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