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

[tor-bugs] #27165 [Core Tor/Tor]: CID 1438153 unlikely overflow in predicted_ports_prediction_time_remaining()



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