mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
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.
This commit is contained in:
parent
09a00a2f82
commit
93b39c5162
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user