Commit 9ca2394d authored by David Goulet's avatar David Goulet
Browse files

channel: Fix use after free in channel_do_open_actions()

Fortunately, our tor_free() is setting the variable to NULL after so we were
in a situation where NULL was always used instead of the transport name.

This first appeared in 894ff2dc

 and results in
basically no bridge with a transport being able to use DoS defenses.

Fixes #40345
Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 94fb308c
Pipeline #4226 passed with stage
in 17 minutes and 25 seconds