summaryrefslogtreecommitdiff
path: root/changes/ticket19566
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2017-09-19 16:08:24 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-11-30 12:16:18 -0500
commitd18a167ff38799ea5cd846dd80acccab6404952a (patch)
treecc62e2ef88ef2c5460fc31f688e45a4b602c88d2 /changes/ticket19566
parent72c1303cef629576cb8d078590ed71091828fd78 (diff)
downloadtor-d18a167ff38799ea5cd846dd80acccab6404952a.tar.gz
tor-d18a167ff38799ea5cd846dd80acccab6404952a.zip
sr: Switch from tor_assert() to BUG()
Closes #19566 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/ticket19566')
-rw-r--r--changes/ticket195666
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/ticket19566 b/changes/ticket19566
new file mode 100644
index 0000000000..bf7071e660
--- /dev/null
+++ b/changes/ticket19566
@@ -0,0 +1,6 @@
+ o Code simplification and refactoring (shared random, dirauth):
+ - Change many tor_assert() to use BUG() instead. The idea is to not crash
+ a dirauth but rather scream loudly with a stacktrace and let it continue
+ run. The shared random subsystem is very resilient and if anything wrong
+ happens with it, at worst a non coherent value will be put in the vote
+ and discarded by the other authorities. Closes ticket 19566.