[tor-bugs] #27722 [Core Tor/Tor]: rust protover doesn't canonicalize adjacent and overlapping ranges

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 15 22:26:01 UTC 2018


#27722: rust protover doesn't canonicalize adjacent and overlapping ranges
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  (none)
  cyberpunks             |
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  rust, protover, 033-backport,
     Severity:  Normal   |  034-backport
Actual Points:           |  Parent ID:  #27190
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 `protover.c` accepts both `"Foo=1-3,4-5"` and `"Foo=1-3,2-5"` and then
 canonicalizes them into `"Foo=1-5"` with `contract_protocol_list()`. Rust
 rejects the 2nd one as malformed.

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


More information about the tor-bugs mailing list