[tor-bugs] #22565 [Core Tor/Tor]: Refactor tor's signal handler to avoid undefined behaviour

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 11 15:43:43 UTC 2017


#22565: Refactor tor's signal handler to avoid undefined behaviour
-------------------------------------------+-------------------------------
 Reporter:  teor                           |          Owner:
     Type:  defect                         |         Status:  new
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  unspecified
Component:  Core Tor/Tor                   |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  memory-safety, technical-debt  |  Actual Points:
Parent ID:                                 |         Points:  2
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------

Comment (by nickm):

 Which signal handlers do you mean, exactly? Thanks to libevent,
 signal_callback() is not actually called from inside a signal handler;
 instead, it's called from within the mainloop, after the signal happens.

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


More information about the tor-bugs mailing list