[tor-bugs] #27199 [Core Tor/Tor]: panic inside rust extern "C" function is undefined behavior

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Aug 18 18:55:42 UTC 2018


#27199: panic inside rust extern "C" function is undefined behavior
----------------------------+----------------------------------------------
     Reporter:  cyberpunks  |      Owner:  (none)
         Type:  defect      |     Status:  new
     Priority:  Medium      |  Milestone:
    Component:  Core        |    Version:
  Tor/Tor                   |
     Severity:  Normal      |   Keywords:  rust, 033-backport, 034-backport
Actual Points:              |  Parent ID:
       Points:              |   Reviewer:
      Sponsor:              |
----------------------------+----------------------------------------------
 `panic="abort"` needs to be set for all profiles in Cargo.toml, at least
 until the upstream bug is fixed: https://github.com/rust-
 lang/rust/issues/52652

 This is already set for `[profile.release]` builds, but not for the
 others.

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


More information about the tor-bugs mailing list