diff options
author | Andreas Stieger <astieger@suse.com> | 2015-08-24 01:04:44 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-25 09:36:34 -0400 |
commit | 19df037e53331ae528b876f225be08f198e0f8b6 (patch) | |
tree | 9680b299929b2e21cb67ad8a638e8b77e6c702e7 /src/or/buffers.c | |
parent | 80a45835c4f8219dbbce20bed7ef534ba4718321 (diff) | |
download | tor-19df037e53331ae528b876f225be08f198e0f8b6.tar.gz tor-19df037e53331ae528b876f225be08f198e0f8b6.zip |
Log malformed hostnames in socks5 request respecting SafeLogging
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 2d7dd937d8..85fcbc64e8 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1842,7 +1842,7 @@ parse_socks(const char *data, size_t datalen, socks_request_t *req, log_warn(LD_PROTOCOL, "Your application (using socks5 to port %d) gave Tor " "a malformed hostname: %s. Rejecting the connection.", - req->port, escaped(req->address)); + req->port, escaped_safe_str_client(req->address)); return -1; } if (log_sockstype) |