mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Set chosen_exit_name to something we are not about to zero.
svn:r5507
This commit is contained in:
parent
98290e4115
commit
835f06a77c
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ connection_ap_handshake_process_socks(connection_t *conn)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
struct in_addr in;
|
struct in_addr in;
|
||||||
conn->chosen_exit_name = socks->address;
|
conn->chosen_exit_name = tor_strdup(socks->address);
|
||||||
*socks->address = 0;
|
*socks->address = 0;
|
||||||
routerinfo_t *r = router_get_by_nickname(conn->chosen_exit_name, 1);
|
routerinfo_t *r = router_get_by_nickname(conn->chosen_exit_name, 1);
|
||||||
if (r) {
|
if (r) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue