[tor-bugs] #29528 [Core Tor/Tor]: UndefinedBehaviorSanitizer errors should fail the unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 23 04:04:33 UTC 2019


#29528: UndefinedBehaviorSanitizer errors should fail the unit tests
--------------------------------------------+------------------------------
 Reporter:  teor                            |          Owner:  (none)
     Type:  defect                          |         Status:  new
 Priority:  Medium                          |      Milestone:  Tor:
                                            |  unspecified
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tor-ci, tor-test, 041-proposed  |  Actual Points:
Parent ID:                                  |         Points:  2
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by riastradh):

 There is an open Clang bug for this:
 https://bugs.llvm.org/show_bug.cgi?id=19535

 Possible workaround: use `-fno-sanitize=float-divide-by-zero` in addition
 to `-fsanitize=undefined`.

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


More information about the tor-bugs mailing list