[tor-bugs] #27190 [Core Tor/Tor]: disparate duplicate subproto handling in protover

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 17 15:29:17 UTC 2018


#27190: disparate duplicate subproto handling in protover
------------------------------+--------------------
     Reporter:  cyberpunks    |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  rust
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 `protover.c` treats `Link=1 Link=1` and `Link=1` identically, allowing
 duplicate entries without complaint, though it does explicitly check for
 duplicates to avoid double-counting it as two votes for the same version.

 `protover.c` also treats `Link=1 Link=2` and `Link=1-2` the same, while
 the rust implementation of protover treats `Link=1 Link=2` as if it were
 `Link=2`.

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


More information about the tor-bugs mailing list