mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Merge branch 'maint-0.4.5'
This commit is contained in:
commit
f6af8e2021
5
changes/ticket40345
Normal file
5
changes/ticket40345
Normal file
@ -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
|
||||
|
@ -1882,11 +1882,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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user