From: David Goulet Date: Mon, 11 May 2015 20:19:16 +0000 (-0400) Subject: Use safe_str_client() for service ID in log X-Git-Tag: tor-0.2.7.2-alpha~158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6e7b57d9ad7a756a12e90df1ff5c81cc6cb9acd;p=thirdparty%2Ftor.git Use safe_str_client() for service ID in log Scrub the service ID in a warning log. Signed-off-by: David Goulet --- diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 0a984f1447..b454a88c1b 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -3551,7 +3551,8 @@ rend_services_introduce(void) log_warn(LD_REND, "Could only establish %d introduction points for %s; " "wanted %u.", - smartlist_len(service->intro_nodes), service->service_id, + smartlist_len(service->intro_nodes), + safe_str_client(service->service_id), n_intro_points_to_open); break; }