[tor-bugs] #21450 [Core Tor/Tor]: Consistently parse tor versions regardless of word size

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 14 18:19:59 UTC 2017


#21450: Consistently parse tor versions regardless of word size
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:  0.5
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:1 arma]:
 > Should we take the opportunity to put a much lower bound on the range of
 version subcomponents? Like, even if we start putting out Tor
 0.3.0.20170215, that's still way lower than INT32_MAX. :)

 `20170215 > 2^25`, so I can't see any smaller limit, at least on a byte
 boundary.

 > (I am also fine with "maybe but how will we pick the lower bound, let's
 just stick with INT32_MAX and have the discipline not to pick stupid
 version numbers.)

 +1

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


More information about the tor-bugs mailing list