summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-19 05:39:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-19 05:39:56 -0400
commit92c60b572ce89e6988422df81af7e8fbcbf2d102 (patch)
treeef0d0b61aeee3135224d63782702f3126d565dba
parentbcea98a4b41f7e54068ad73f50eb5e0ceb593a12 (diff)
parent9d1c7c3a8aea7ba423c89456ff0b065d109330d4 (diff)
downloadtor-92c60b572ce89e6988422df81af7e8fbcbf2d102.tar.gz
tor-92c60b572ce89e6988422df81af7e8fbcbf2d102.zip
Merge branch 'maint-0.3.3'
-rw-r--r--changes/bug254794
-rw-r--r--src/test/bench.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug25479 b/changes/bug25479
new file mode 100644
index 0000000000..e693b8ec7a
--- /dev/null
+++ b/changes/bug25479
@@ -0,0 +1,4 @@
+ o Major bugfixes (benchmarks):
+ - Fix a crash when running benchmark tests on win32 systems which
+ was due to an uninitialised mutex before logging and options
+ were initialised. Fixes bug 25479; bugfix on 0.3.3.3-alpha.
diff --git a/src/test/bench.c b/src/test/bench.c
index 24ff8b255c..92d7a244f7 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -713,6 +713,8 @@ main(int argc, const char **argv)
printf("Couldn't seed RNG; exiting.\n");
return 1;
}
+
+ init_protocol_warning_severity_level();
crypto_init_siphash_key();
options = options_new();
init_logging(1);