mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Strings need room for a NUL.
svn:r1630
This commit is contained in:
parent
3f352719f3
commit
f6dd710aff
@ -881,7 +881,7 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ)
|
|||||||
rend_service_t *service;
|
rend_service_t *service;
|
||||||
int i;
|
int i;
|
||||||
rend_service_port_config_t *p;
|
rend_service_port_config_t *p;
|
||||||
char serviceid[REND_SERVICE_ID_LEN];
|
char serviceid[REND_SERVICE_ID_LEN+1];
|
||||||
|
|
||||||
assert(circ->purpose == CIRCUIT_PURPOSE_S_REND_JOINED);
|
assert(circ->purpose == CIRCUIT_PURPOSE_S_REND_JOINED);
|
||||||
log_fn(LOG_DEBUG,"beginning to hunt for addr/port");
|
log_fn(LOG_DEBUG,"beginning to hunt for addr/port");
|
||||||
|
Loading…
Reference in New Issue
Block a user