[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#18241: Assert that the event_base is initialized before using it.
-----------------------------+-------------------------------
     Reporter:  nickm        |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:
    Component:  Tor          |    Version:
     Severity:  Normal       |   Keywords:  TorCoreTeam201602
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+-------------------------------
 We should assert that event_base is non-null in tor_libevent_get_base(),
 to avoid annoying bugs.  (Libevent 2.0 will fail gently in this case,
 whereas libevent 1.4 will fail hard and confusingly).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18241>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs