[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------

Comment (by teor):

 UBSan is `-fsanitize=undefined`, but it can also be used like
 `-fsanitize=address,undefined`, or using the integer sanitizer only.

 We could build with `-fwrapv` when `-fsanitize` does not appear on the
 command-line. If they are used together, this could hide undefined
 behaviour when people are explicitly checking for it. But suddenly
 switching off `-fwrapv` could also cause subtle bugs.

 So let's make `-fwrapv` it a ./configure option that's on by default, and
 people can turn it off if they don't want it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17983#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs