[tor-bugs] #20558 [Core Tor/Tor]: Coverity complains about 64-bit time_t vs 64-bit int64_t comparison

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 3 23:31:39 UTC 2016


#20558: Coverity complains about 64-bit time_t vs 64-bit int64_t comparison
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by nickm):

 * status:  new => needs_review


Comment:

 `bug20558` is my attempt at a fix here.  There is no bug: Coverity Scan
 just doesn't like it when we check whether a 64-bit value is larger than
 it can possibly be.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20558#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list