Use fast check for missing id in node_is_a_configured_bridge()

Fixes bug 30308; bugfix on 0.3.5.1-alpha.
This commit is contained in:
Nick Mathewson
2019-04-26 11:19:46 -04:00
parent 650b94ebc1
commit 806539b40a
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes (performance):
- When checking a node for bridge status, use a fast check to make sure
that its identity is set. Previously, we used a constant-time check,
which is not necessary when verifying a BUG() condition that causes
a stack trace. Fixes bug 30308; bugfix on 0.3.5.1-alpha.