mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Do assert when calling relay_send_command_from_edge() on OR-side circs
This commit is contained in:
parent
2d04946960
commit
23b878b875
@ -617,7 +617,7 @@ relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ,
|
||||
cell.circ_id = TO_OR_CIRCUIT(circ)->p_circ_id;
|
||||
cell_direction = CELL_DIRECTION_IN;
|
||||
} else {
|
||||
return -1;
|
||||
tor_assert(0);
|
||||
}
|
||||
|
||||
memset(&rh, 0, sizeof(rh));
|
||||
|
Loading…
Reference in New Issue
Block a user