summaryrefslogtreecommitdiff
path: root/changes/ticket11737
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-06 13:57:17 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-06 13:57:17 -0500
commit634434514059256235d329d9430f91fb31044fd9 (patch)
tree22effa6b06cc5f58400bd69472187236b91d9f29 /changes/ticket11737
parent68af1e7e9be8bef82b4574ac0934310af71a764b (diff)
downloadtor-634434514059256235d329d9430f91fb31044fd9.tar.gz
tor-634434514059256235d329d9430f91fb31044fd9.zip
Add correctness assertions for hashtable iteration
This is meant to prevent memory corruption bugs from doing unspeakable infinite-loop-like things to the hashtables. Addresses ticket 11737. We should disable these if they turn out to be expensive.
Diffstat (limited to 'changes/ticket11737')
-rw-r--r--changes/ticket117374
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket11737 b/changes/ticket11737
new file mode 100644
index 0000000000..5c5f9dc6ed
--- /dev/null
+++ b/changes/ticket11737
@@ -0,0 +1,4 @@
+ o Minor features:
+ - Prevent bugs from causing infinite loops in our hash-table
+ iteration code by adding assertions that cached hash values have
+ not been corrupted. Closes ticket 11737.