diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-04-18 13:25:48 -0700 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-04-18 13:25:48 -0700 |
commit | adc31001c2f9923f8fcee2141d233200c95373cf (patch) | |
tree | 4ff692dfa9de449201c71c4f8b39518af38be0cc /src | |
parent | bfebc942eaf7098e8d35f1de9159da450d5e3969 (diff) | |
download | tor-adc31001c2f9923f8fcee2141d233200c95373cf.tar.gz tor-adc31001c2f9923f8fcee2141d233200c95373cf.zip |
Add an XXX
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |