From: Robert Ransom Date: Mon, 18 Apr 2011 20:25:48 +0000 (-0700) Subject: Add an XXX X-Git-Tag: tor-0.2.2.25-alpha~15^2~4^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=adc31001c2f9923f8fcee2141d233200c95373cf;p=thirdparty%2Ftor.git Add an XXX --- diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 28ecaf0ad7..3d73f8de68 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -3628,6 +3628,8 @@ rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out, eos = eos + 1; /* Check length. */ if (strlen(desc) > REND_DESC_MAX_SIZE) { + /* XXX023 If we are parsing this descriptor as a server, this + * should be a protocol warning. */ log_warn(LD_REND, "Descriptor length is %i which exceeds " "maximum rendezvous descriptor size of %i bytes.", (int)strlen(desc), REND_DESC_MAX_SIZE);