mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add an XXX
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user