mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
put in an extra assert, might find a bug these way
svn:r1636
This commit is contained in:
@@ -102,6 +102,7 @@ rend_client_send_introduction(circuit_t *introcirc, circuit_t *rendcirc) {
|
||||
goto err;
|
||||
}
|
||||
|
||||
assert(DIGEST_LEN + r <= RELAY_PAYLOAD_SIZE); /* we overran something */
|
||||
payload_len = DIGEST_LEN + r;
|
||||
|
||||
if (connection_edge_send_command(NULL, introcirc,
|
||||
|
||||
Reference in New Issue
Block a user