[tor/master] Fix unlikely memory leak introduced in 418f3d6298beb27e050

28 Aug
2017
28 Aug
'17
2:09 p.m.
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 {
2826
Age (days ago)
2826
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org