Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
c359c305
Commit
c359c305
authored
Mar 24, 2021
by
Nick Mathewson
👁
Browse files
Merge branch 'maint-0.4.4' into maint-0.4.5
parents
59bbf8cd
9ca2394d
Pipeline
#4227
passed with stage
in 20 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
changes/ticket40345
0 → 100644
View file @
c359c305
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
src/core/or/channel.c
View file @
c359c305
...
...
@@ -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 */
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment