[tor-bugs] #29527 [Core Tor/Tor]: Division by zero: undefined behaviour in circuitpadding/circuitpadding_sample_distribution test

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 25 02:12:58 UTC 2019


#29527: Division by zero: undefined behaviour in
circuitpadding/circuitpadding_sample_distribution test
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  regression, tor-ci, tor-test,        |  Actual Points:
  040-must                                       |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 From https://trac.torproject.org/projects/tor/ticket/29528#comment:3
 > 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`.

 Let's also implement this workaround for the warnings that are obviously
 not bugs.

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


More information about the tor-bugs mailing list