tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 80d673ccea4d6f784052dc5bc55cec04647556e7
parent a5d4ce2b393955f60962d3db8744a846506c3e7b
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 22 May 2018 14:13:23 -0400

Merge branch 'trove-2018-005_032' into maint-0.3.3

Diffstat:
Msrc/or/protover.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/protover.c b/src/or/protover.c @@ -204,7 +204,7 @@ parse_single_entry(const char *s, const char *end_of_entry) goto error; /* The name must not be longer than MAX_PROTOCOL_NAME_LENGTH. */ - if (equals - s > MAX_PROTOCOL_NAME_LENGTH) { + if (equals - s > (int)MAX_PROTOCOL_NAME_LENGTH) { log_warn(LD_NET, "When parsing a protocol entry, I got a very large " "protocol name. This is possibly an attack or a bug, unless " "the Tor network truly supports protocol names larger than "