Skip to content
Snippets Groups Projects
Commit 691e542f authored by David Goulet's avatar David Goulet :panda_face:
Browse files

Merge branch 'tor-gitlab/mr/605' into maint-0.4.5

parents dc13936f 8e7bd963
Branches
Tags
No related merge requests found
o Minor bugfixes (defense in depth):
- Change a test in the netflow padding code to make it more
_obviously_ safe against remotely triggered crashes.
(It was safe against these before, but not obviously so.)
Fixes bug 40645; bugfix on 0.3.1.1-alpha.
......@@ -186,7 +186,7 @@ channelpadding_get_netflow_inactive_timeout_ms(const channel_t *chan)
high_timeout = MAX(high_timeout, chan->padding_timeout_high_ms);
}
if (low_timeout == high_timeout)
if (low_timeout >= high_timeout)
return low_timeout; // No randomization
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment