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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 2 12:20:06 UTC 2019


#27199: panic inside rust extern "C" function is undefined behavior
-------------------------------------------------+-------------------------
 Reporter:  cyberpunks                           |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, 034-backport, 041-proposed,    |  Actual Points:
  033-backport-unreached                         |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by elichai2):

 why not use `catch_unwind()` ?

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


More information about the tor-bugs mailing list