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

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



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