mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'tor-github/pr/1057'
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
o Minor bugfixes (shutdown, libevent, memory safety):
|
||||
- Avoid use-after-free bugs when shutting down, by making sure that we
|
||||
shut down libevent only after shutting down all of its users. We
|
||||
believe these are harmless in practice, since they only occur on the
|
||||
shutdown path, and do not involve any attacker-controlled data. Fixes
|
||||
bug 30629; bugfix on 0.4.1.1-alpha.
|
||||
@@ -157,10 +157,11 @@ tor_free_all(int postfork)
|
||||
if (!postfork) {
|
||||
release_lockfile();
|
||||
}
|
||||
tor_libevent_free_all();
|
||||
|
||||
subsystems_shutdown();
|
||||
|
||||
tor_libevent_free_all();
|
||||
|
||||
/* Stuff in util.c and address.c*/
|
||||
if (!postfork) {
|
||||
esc_router_info(NULL);
|
||||
|
||||
Reference in New Issue
Block a user