[tor-bugs] #21278 [Core Tor/Tor]: Avoid signed integer underflow when comparing versions (Fix TROVE-2017-001)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 14 01:53:15 UTC 2017


#21278: Avoid signed integer underflow when comparing versions (Fix TROVE-2017-001)
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  defect        |         Status:  needs_revision
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  029-backport  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Also, I think we should patch the 64-bit to 32-bit truncation bug in
 #21450 at the same time as this.

 It means that 32-bit and 64-bit tors treat version components >= INT32_MAX
 differently.

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


More information about the tor-bugs mailing list