[tor-bugs] #27198 [Core Tor/Tor]: protover doesn't forbid version zero

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 20 02:34:48 UTC 2018


#27198: protover doesn't forbid version zero
--------------------------+------------------------------------
 Reporter:  cyberpunks    |          Owner:  (none)
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.9.4-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by teor):

 * cc: nickm (added)


Comment:

 I think we might want to fix the spec to permit 0 instead.
 What do you think, nickm?

 Also, I think that it's ok to accept "01" and treat it as "1", but
 authorities should not put leading zeroes in the consensus.

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


More information about the tor-bugs mailing list