diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-03-14 22:43:52 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-03-14 22:43:52 +0000 |
commit | 2ef8f772a192fe84424f51edaaf74896df26a686 (patch) | |
tree | bd245aed2eca8b918934a42b1619463190ea89a9 | |
parent | 499eeced4493b2012c1ba449ad2a960498dce00f (diff) | |
download | tor-2ef8f772a192fe84424f51edaaf74896df26a686.tar.gz tor-2ef8f772a192fe84424f51edaaf74896df26a686.zip |
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
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 8425fcc88e..6e8250a8e1 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -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; |