diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-12-05 04:32:11 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-12-05 04:32:11 +0200 |
commit | c01dfd5d7b5662c9bc70ae9a97ecd268b307495c (patch) | |
tree | cac468f6736a681899d914cda632525231f82176 /src | |
parent | 190c1d4981e5751aabd3d894095851c830f1d570 (diff) | |
download | tor-c01dfd5d7b5662c9bc70ae9a97ecd268b307495c.tar tor-c01dfd5d7b5662c9bc70ae9a97ecd268b307495c.tar.gz |
Return connection_exit_connect() if payload creation failed.
Fixes bug #7592; bugfix on 882b389668067a29bb539d0f5bd5cb2f83b93012.
The bug is not present in any released versions of Tor.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 41c75a2b8..6587a3004 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2614,6 +2614,7 @@ connection_exit_connect(edge_connection_t *edge_conn) connection_edge_end(edge_conn, END_STREAM_REASON_INTERNAL); circuit_detach_stream(circuit_get_by_edge_conn(edge_conn), edge_conn); connection_free(conn); + return; } connection_edge_send_command(edge_conn, |