Skip to content

Commit

Permalink
Merge branch 'maint-0.4.4' into release-0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Mar 24, 2021
2 parents a93f736 + 9ca2394 commit 44df63e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changes/ticket40345
@@ -0,0 +1,5 @@
o Minor bugfixes (channel, DoS):
- Fix a possible non fatal assertion BUG() due to a too early free of a
string when noting down the client connection for the DoS defenses
subsystem. Fixes bug 40345; bugfix on 0.4.3.4-rc

2 changes: 1 addition & 1 deletion src/core/or/channel.c
Expand Up @@ -1887,11 +1887,11 @@ channel_do_open_actions(channel_t *chan)
geoip_note_client_seen(GEOIP_CLIENT_CONNECT,
&remote_addr, transport_name,
now);
tor_free(transport_name);
/* Notify the DoS subsystem of a new client. */
if (tlschan && tlschan->conn) {
dos_new_client_conn(tlschan->conn, transport_name);
}
tor_free(transport_name);
}
/* Otherwise the underlying transport can't tell us this, so skip it */
}
Expand Down

0 comments on commit 44df63e

Please sign in to comment.