mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
fix a seg fault when you finish connecting to a server but
at that moment you dump his server descriptor, and you also happen to be logging at loglevel info. (found by weasel) svn:r5615
This commit is contained in:
parent
34249e8861
commit
7cd46d7f95
@ -584,7 +584,8 @@ circuit_send_next_onion_skin(circuit_t *circ)
|
||||
circ->cpath->state = CPATH_STATE_AWAITING_KEYS;
|
||||
circuit_set_state(circ, CIRCUIT_STATE_BUILDING);
|
||||
info(LD_CIRC,"First hop: finished sending %s cell to '%s'",
|
||||
fast ? "CREATE_FAST" : "CREATE", router->nickname);
|
||||
fast ? "CREATE_FAST" : "CREATE",
|
||||
router ? router->nickname : "<unnamed>");
|
||||
} else {
|
||||
tor_assert(circ->cpath->state == CPATH_STATE_OPEN);
|
||||
tor_assert(circ->state == CIRCUIT_STATE_BUILDING);
|
||||
|
Loading…
Reference in New Issue
Block a user