commit 8de4a80125ad674c2ed3b34920ac221693061794 Author: Nick Mathewson nickm@torproject.org Date: Mon Aug 28 10:08:52 2017 -0400
Fix unlikely memory leak introduced in 418f3d6298beb27e050
This is CID 1416880; bug not in any released Tor. --- src/or/connection_or.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index c776afe94..fc304e6f1 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1549,6 +1549,7 @@ connection_or_check_valid_tls_handshake(or_connection_t *conn,
if (identity_rcvd) { if (crypto_pk_get_digest(identity_rcvd, digest_rcvd_out) < 0) { + crypto_pk_free(identity_rcvd); return -1; } } else {
tor-commits@lists.torproject.org