mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix another segfault in assert_circuit_ok.
svn:r6818
This commit is contained in:
parent
7239262f71
commit
d27cbf5d4b
@ -1014,7 +1014,7 @@ assert_circuit_ok(const circuit_t *c)
|
|||||||
tor_assert(!circuits_pending_or_conns ||
|
tor_assert(!circuits_pending_or_conns ||
|
||||||
!smartlist_isin(circuits_pending_or_conns, c));
|
!smartlist_isin(circuits_pending_or_conns, c));
|
||||||
}
|
}
|
||||||
if (origin_circ->cpath) {
|
if (origin_circ && origin_circ->cpath) {
|
||||||
assert_cpath_ok(origin_circ->cpath);
|
assert_cpath_ok(origin_circ->cpath);
|
||||||
}
|
}
|
||||||
if (c->purpose == CIRCUIT_PURPOSE_REND_ESTABLISHED) {
|
if (c->purpose == CIRCUIT_PURPOSE_REND_ESTABLISHED) {
|
||||||
|
Loading…
Reference in New Issue
Block a user