mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +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
@ -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…
Reference in New Issue
Block a user