Merge branch 'bug22246_030' into maint-0.3.0

This commit is contained in:
Nick Mathewson 2017-05-15 18:24:24 -04:00
commit 0f718a85ea
2 changed files with 7 additions and 0 deletions

6
changes/bug22246 Normal file
View File

@ -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.

View File

@ -2926,6 +2926,7 @@ tor_init(int argc, char *argv[])
rep_hist_init(); rep_hist_init();
/* Initialize the service cache. */ /* Initialize the service cache. */
rend_cache_init(); rend_cache_init();
hs_cache_init();
addressmap_init(); /* Init the client dns cache. Do it always, since it's addressmap_init(); /* Init the client dns cache. Do it always, since it's
* cheap. */ * cheap. */