commit a546487287f8f9c6b7747e15eed03547f7ca0b1c
parent 294d80044dab3c682f61b239c79be3c261bcd0f2
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 15 May 2017 18:24:38 -0400
Merge branch 'maint-0.3.0'
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/changes/bug22246 b/changes/bug22246
@@ -0,0 +1,6 @@
+ o Major bugfixes (hidden service directory, security):
+ - Fix an assertion failure in the hidden service directory code, which
+ could be used by an attacker to remotely cause a Tor relay process to
+ exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
+ This security issue is tracked as tracked as
+ TROVE-2017-002. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
diff --git a/src/or/main.c b/src/or/main.c
@@ -3006,6 +3006,7 @@ tor_init(int argc, char *argv[])
rep_hist_init();
/* Initialize the service cache. */
rend_cache_init();
+ hs_cache_init();
addressmap_init(); /* Init the client dns cache. Do it always, since it's
* cheap. */