summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-06 16:50:05 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-11 16:23:16 -0400
commitc4cb969a2a90570120f57f72448241af41e21e97 (patch)
treed6c90ba52d8b30fc8b6bfb7c36f1bfc0b667b49d /changes
parentab18e5e5fcff7fbdbf0905e6dd2585b7e4a10108 (diff)
downloadtor-c4cb969a2a90570120f57f72448241af41e21e97.tar.gz
tor-c4cb969a2a90570120f57f72448241af41e21e97.zip
Taboo the get_options() function while options are validating
When option validation or transition is happening, there are no "current options" -- only "old options" and "maybe new options". Looking at get_options() is likely a mistake, so have a nonfatal assertion let us know if we do that. Closes 22281.
Diffstat (limited to 'changes')
-rw-r--r--changes/ticket222813
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ticket22281 b/changes/ticket22281
new file mode 100644
index 0000000000..95787580ff
--- /dev/null
+++ b/changes/ticket22281
@@ -0,0 +1,3 @@
+ o Minor features (bug detection):
+ - Log a warning message, with stack trace, for any attempt to call
+ get_options() during option validation. Closes ticket 22281.