diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-03-23 11:31:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-03-23 11:31:56 -0400 |
commit | 3519d0c8086edeade8d550f230caa3f95e4d2cdb (patch) | |
tree | f514a25ed3fa6c942f55f17338567837a71c2cb7 /src/or/control.c | |
parent | e263317e07e61e7adbb3515b46a978997a9d20c0 (diff) | |
download | tor-3519d0c8086edeade8d550f230caa3f95e4d2cdb.tar.gz tor-3519d0c8086edeade8d550f230caa3f95e4d2cdb.zip |
Clear all control.c flags on control_free_all()
Fixes bug 25512.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c index 7786e16481..edbc2f70fb 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -7602,6 +7602,11 @@ control_free_all(void) bootstrap_percent = BOOTSTRAP_STATUS_UNDEF; notice_bootstrap_percent = 0; bootstrap_problems = 0; + authentication_cookie_is_set = 0; + global_event_mask = 0; + disable_log_messages = 0; + memset(last_sent_bootstrap_message, 0, sizeof(last_sent_bootstrap_message)); + flush_queued_event_pending = 0; } #ifdef TOR_UNIT_TESTS |