[tor-bugs] #19133 [Core Tor/Tor]: Clarify how INT_N truncates values

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 20 01:47:41 UTC 2016


#19133: Clarify how INT_N truncates values
------------------------------+----------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  torspec tor-hs
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+----------------------------
 We've assumed that INT_1(x), where x is an integer, means `x % 256`.
 We should make this explicit.

 https://gitweb.torproject.org/torspec.git/tree/proposals/224-rend-spec-
 ng.txt#n146

 https://github.com/eewayhsu/tor-
 project/commit/443a3bd64096b36bbfe711ca9b43c52ccb5442dc

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


More information about the tor-bugs mailing list