[tor-bugs] #27165 [Core Tor/Tor]: CID 1438153 unlikely overflow in predicted_ports_prediction_time_remaining()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Aug 16 15:05:53 UTC 2018
#27165: CID 1438153 unlikely overflow in
predicted_ports_prediction_time_remaining()
------------------------------+------------------------------
Reporter: catalyst | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: coverity
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------------------
There is an attempted overflow check in
`predicted_ports_prediction_time_remaining()` that doesn't adequately
protect against overflow. Coverity found this as CID 1438153. It seems
unlikely to happen in practice.
Maybe making all the types in question into `time_t` would help.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27165>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list