[tor-bugs] #18241 [Tor]: Assert that the event_base is initialized before using it.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 5 00:31:01 UTC 2016


#18241: Assert that the event_base is initialized before using it.
-------------------------------+------------------------------
 Reporter:  nickm              |          Owner:  nickm
     Type:  enhancement        |         Status:  needs_review
 Priority:  Medium             |      Milestone:
Component:  Tor                |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  TorCoreTeam201602  |  Actual Points:
Parent ID:                     |         Points:
  Sponsor:                     |
-------------------------------+------------------------------

Comment (by teor):

 This might break a whole lot of unit tests, as many of them don't
 initialise event_base, and then generate a whole lot of warnings about it
 being NULL.

 (So we should fix the unit tests at the same time.)

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


More information about the tor-bugs mailing list