[tor-bugs] #28041 [Core Tor/sbws]: Number of results comparison and number of results away from each other are incorrect

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 15 11:21:55 UTC 2018


#28041: Number of results comparison and number of results away from each other are
incorrect
-------------------------------+---------------------------------
     Reporter:  juga           |      Owner:  juga
         Type:  defect         |     Status:  assigned
     Priority:  Medium         |  Milestone:  sbws 1.0 (MVP nice)
    Component:  Core Tor/sbws  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+---------------------------------
 In #27338 we implemented restrictions on the minimum number of
 measurements there should be for a relay and how far away in time those
 results should be.
 There were a couple of implementation errors:
 - the comparison for the minimun number of results uses ">", it should be
 ">="
 - the list returned by the method that calculate how far away the results
 are, returns a list with one element, when it should be None (the first
 element was added for the comparison)

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


More information about the tor-bugs mailing list