[tor-bugs] #17983 [Tor]: Build tor with -fwrapv by default

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 3 07:11:48 UTC 2016


#17983: Build tor with -fwrapv by default
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:
     Severity:  Normal       |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+--------------------------------
 If the CFLAGS passed to tor don't contain -ftrapv (or the undefined
 behaviour sanitiser), let's build with -fwrapv.

 This resolves #13538 non-intrusively, and prevents an entire class of
 integer safety bugs. (That said, wrapping can hide some issues rather than
 resolving them.)

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


More information about the tor-bugs mailing list