mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
we were leaking 616 bytes every time somebody established us as
an intro point for their hidden service. svn:r4276
This commit is contained in:
parent
c95677725a
commit
d22c141659
@ -70,6 +70,9 @@ rend_mid_establish_intro(circuit_t *circ, const char *request, size_t request_le
|
||||
goto err;
|
||||
}
|
||||
|
||||
crypto_free_pk_env(pk); /* don't need it anymore */
|
||||
pk = NULL; /* so we don't free it again if err */
|
||||
|
||||
base32_encode(serviceid, REND_SERVICE_ID_LEN+1, pk_digest,10);
|
||||
|
||||
/* Close any other intro circuits with the same pk. */
|
||||
|
Loading…
Reference in New Issue
Block a user