[tor-bugs] #8415 [Core Tor/Tor]: Use event_set_mem_functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 10 14:39:58 UTC 2018


#8415: Use event_set_mem_functions
------------------------------------------+--------------------------------
 Reporter:  nickm                         |          Owner:  rl1987
     Type:  enhancement                   |         Status:  merge_ready
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.3.5.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  easy backend libevent malloc  |  Actual Points:
Parent ID:                                |         Points:
 Reviewer:  dgoulet                       |        Sponsor:
------------------------------------------+--------------------------------
Changes (by dgoulet):

 * status:  needs_review => merge_ready


Comment:

 lgtm;

 Some part of me would love a better abstraction (maybe a single central
 init function) so we can have one place where we initialize "libevent".
 For instance, the libevent RNG is setup in multiple steps in different
 places, and now that memory setup. I guess ordering matters maybe when we
 initialize libevent?...

 Anyway, for quick fix up, this seems fine.

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


More information about the tor-bugs mailing list