From 2c057c2833ff2ab0779cbd1e5f3747be0a232126 Mon Sep 17 00:00:00 2001 From: John Brooks Date: Mon, 21 Mar 2016 19:22:14 +0700 Subject: [PATCH] Scrub service name in introduction circuit warning Fixes bug 18600. --- src/or/rendservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 09b20e34a4..39e5831589 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -2717,7 +2717,7 @@ rend_service_intro_has_opened(origin_circuit_t *circuit) circuit->rend_data->rend_pk_digest); if (!service) { log_warn(LD_REND, "Unrecognized service ID %s on introduction circuit %u.", - serviceid, (unsigned)circuit->base_.n_circ_id); + safe_str_client(serviceid), (unsigned)circuit->base_.n_circ_id); reason = END_CIRC_REASON_NOSUCHSERVICE; goto err; }