[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/release-0.2.1] Add an XXX
commit adc31001c2f9923f8fcee2141d233200c95373cf
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date: Mon Apr 18 13:25:48 2011 -0700
Add an XXX
---
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 28ecaf0..3d73f8d 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);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits