mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add a missing return after marking a stream for bad connected cell
Fixes bug 26072; bugfix on 0.2.4.7-alpha.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user