summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2015-03-22 14:25:42 +1100
committerteor <teor2345@gmail.com>2015-03-22 14:25:42 +1100
commitb41a5039f1ee16ddbcb5cbef63d5ba9abf802834 (patch)
tree4e81637a08373263fcf3f7380e98122bb48c19ca /changes
parent99c10a95e408f8800e373735fd9a1eca0acc4df8 (diff)
downloadtor-b41a5039f1ee16ddbcb5cbef63d5ba9abf802834.tar.gz
tor-b41a5039f1ee16ddbcb5cbef63d5ba9abf802834.zip
Compile-time check that control_event_t.event_mask is big enough
Add a compile-time check that the number of events doesn't exceed the capacity of control_event_t.event_mask.
Diffstat (limited to 'changes')
-rw-r--r--changes/ticket154314
1 files changed, 3 insertions, 1 deletions
diff --git a/changes/ticket15431 b/changes/ticket15431
index e35bab6e85..ea6821afdf 100644
--- a/changes/ticket15431
+++ b/changes/ticket15431
@@ -1,4 +1,6 @@
o Minor features (testing):
- Add unit tests for control_event_is_interesting().
- Part of ticket 15431, checks for bugs similar to 13085.
+ Add a compile-time check that the number of events doesn't exceed
+ the capacity of control_event_t.event_mask.
+ Closes ticket 15431, checks for bugs similar to 13085.
Patch by "teor".