From 634434514059256235d329d9430f91fb31044fd9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 6 Nov 2014 13:57:17 -0500 Subject: 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. --- changes/ticket11737 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/ticket11737 (limited to 'changes/ticket11737') 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. -- cgit v1.2.3-54-g00ecf