[tor-bugs] #16970 [Tor]: Segfault in i386 ed25519_donna_pubkey_from_curve25519_pubkey

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 3 05:56:50 UTC 2015


#16970: Segfault in i386 ed25519_donna_pubkey_from_curve25519_pubkey
------------------------+---------------------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:  Tor: 0.2.7.2-alpha
   Resolution:          |   Keywords:  Post027Freeze TorCoreTeam201509
Actual Points:          |  Parent ID:
       Points:          |
------------------------+---------------------------------------------

Comment (by yawning):

 Apparently clang does something subtly different than gcc with stack
 alignment, since the jenkins stuff didn't puke here, oh well.

 Change ed25519_tor.c:326 to look like this:
 {{{
   static const bignum25519 ALIGN(16) one = { 1 };
 }}}

 I'd push a branch or whatever but I'm out of the house at the moment and
 can't be bothered fishing out my smartcard.

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


More information about the tor-bugs mailing list