diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-14 15:54:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-14 15:54:48 -0400 |
commit | 5eb2d5888065420b44ad237d000dfb7c3656c2ef (patch) | |
tree | 911687dc4d6dce7d11a39984cf4dc33dd4e81c44 /src | |
parent | edb6acf9cee42406cfa8380c898b7b664f699b8d (diff) | |
download | tor-5eb2d5888065420b44ad237d000dfb7c3656c2ef.tar.gz tor-5eb2d5888065420b44ad237d000dfb7c3656c2ef.zip |
Add a missing return after marking a stream for bad connected cell
Fixes bug 26072; bugfix on 0.2.4.7-alpha.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/relay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 22ce767523..1c791e02cc 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1323,6 +1323,7 @@ connection_edge_process_relay_cell_not_open( "Got a badly formatted connected cell. Closing."); connection_edge_end(conn, END_STREAM_REASON_TORPROTOCOL); connection_mark_unattached_ap(entry_conn, END_STREAM_REASON_TORPROTOCOL); + return 0; } if (tor_addr_family(&addr) != AF_UNSPEC) { const sa_family_t family = tor_addr_family(&addr); |