[tor-bugs] #19931 [Core Tor/Tor]: curve25519-donna runtime math errors on armhf

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 17 23:52:12 UTC 2016


#19931: curve25519-donna runtime math errors on armhf
-------------------------------------------------+-------------------------
 Reporter:  chadmiller                           |          Owner:
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.2.???
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.8.6
 Severity:  Normal                               |     Resolution:
 Keywords:  regression, integer-overflow,        |  Actual Points:
  029-proposed                                   |
Parent ID:                                       |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by teor):

 * keywords:   => regression, integer-overflow, 029-proposed
 * points:   => 0.5
 * milestone:   => Tor: 0.2.???


Comment:

 These errors are a known issue. They are C undefined behaviour that the
 source code author has declined to fix, see #13538. We thought we'd fixed
 it in #17983 by compiling that particular file with -fwrapv.

 But clearly something has gone wrong.
 How does your compiler implement -fwrapv?

 Which compiler was used?
 What version of the compiler?

 Just to confirm:
 * this is Tor 0.2.8.6?
 * Tor runs fine, but continues to log runtime errors? (rather than, say,
 crashing?)

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


More information about the tor-bugs mailing list