[tor-bugs] #27191 [Core Tor/Tor]: handling double spaces in protover

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 17 16:07:02 UTC 2018


#27191: handling double spaces in protover
------------------------------+--------------------------------
     Reporter:  cyberpunks    |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.9.4-alpha
     Severity:  Normal        |   Keywords:  rust
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 `protover.c` accepts trailing spaces and extra spaces between subprotocol
 entries like `"Link=1-4  LinkAuth=1 "`, but rejects leading spaces like `"
 Link=1-4"`. It has since its
 [https://gitweb.torproject.org/tor.git/commit/?id=b2b2e1c7f24d9b65059e3d089768d6c49ba4f58f
 introduction.]

 The Rust implementation rejects all extra spaces in any position. It's at
 least consistent.

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


More information about the tor-bugs mailing list