aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-31 11:35:57 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-31 11:35:57 -0500
commit93b39c51629ed0ded2bf807cb6a06d59f3a55347 (patch)
tree4cff3cf3184a7b6ae15e73c67d98ff9664648981 /src
parent09a00a2f826233b417066d90dcf5ba9be48b4e13 (diff)
downloadtor-93b39c51629ed0ded2bf807cb6a06d59f3a55347.tar.gz
tor-93b39c51629ed0ded2bf807cb6a06d59f3a55347.zip
Downgrade assertion to nonfatal for #21242
This assertion triggered in the (error) case where we got a result from guards_choose_guard() without a descriptor. That's not supposed to be possible, but it's not worth crashing over.
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index f11c865ad0..88445f9248 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2369,7 +2369,7 @@ onion_extend_cpath(origin_circuit_t *circ)
int client = (server_mode(get_options()) == 0);
info = extend_info_from_node(r, client);
/* Clients can fail to find an allowed address */
- tor_assert(info || client);
+ tor_assert_nonfatal(info || client);
}
} else {
const node_t *r =