Skip to content
Snippets Groups Projects
Commit 9d133464 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

parents 6def5684 31b562e1
Branches
Tags
No related merge requests found
......@@ -282,6 +282,7 @@ dnsserv_resolved(edge_connection_t *conn,
name,
1, (char*)answer, ttl);
} else if (answer_type == RESOLVED_TYPE_HOSTNAME &&
answer_len < 256 &&
conn->socks_request->command == SOCKS_COMMAND_RESOLVE_PTR) {
char *ans = tor_strndup(answer, answer_len);
evdns_server_request_add_ptr_reply(req, NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment