[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
Fri Mar 1 19:34:56 UTC 2019


#29527: Division by zero: undefined behaviour in
circuitpadding/circuitpadding_sample_distribution test
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  merge_ready
 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:  mikeperry                            |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by mikeperry):

 * status:  needs_review => merge_ready


Comment:

 Little nervous about disabling divide by zero sanitation across all of Tor
 for this code, but it's not actually undefined behavior, so it's probably
 ok.

 Thought I should still just flag that for Nick in case he wants to hack
 autoconf to apply -fno-sanitize=float-divide-by-zero to just this c file
 somehow.

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


More information about the tor-bugs mailing list