mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix an off-by-one buffer size in dirserv.c that magically never hit our
three authorities but broke sjmurdoch's own tor network. svn:r6157
This commit is contained in:
+1
-1
@@ -1311,7 +1311,7 @@ generate_v2_networkstatus(void)
|
||||
or_options_t *options = get_options();
|
||||
char fingerprint[FINGERPRINT_LEN+1];
|
||||
char ipaddr[INET_NTOA_BUF_LEN+1];
|
||||
char published[ISO_TIME_LEN];
|
||||
char published[ISO_TIME_LEN+1];
|
||||
char digest[DIGEST_LEN];
|
||||
struct in_addr in;
|
||||
uint32_t addr;
|
||||
|
||||
Reference in New Issue
Block a user