diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-07-31 10:48:35 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-07-31 10:48:35 -0400 |
commit | 2503cfad240bfd59b033b4380b0ebd4a8a148802 (patch) | |
tree | af3477c77a48a7563687bca561338b863b363b90 /src/or/dirvote.c | |
parent | aed93f8ad918787ea787061106bcd5289c712823 (diff) | |
download | tor-2503cfad240bfd59b033b4380b0ebd4a8a148802.tar.gz tor-2503cfad240bfd59b033b4380b0ebd4a8a148802.zip |
Allow microdescs to be up to 2k. Partial fix for 6404.
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 79958739a5..85ea85ce73 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -3502,7 +3502,7 @@ dirvote_create_microdescriptor(const routerinfo_t *ri) { microdesc_t *result = NULL; char *key = NULL, *summary = NULL, *family = NULL; - char buf[1024]; + char buf[2048]; size_t keylen; char *out = buf, *end = buf+sizeof(buf); |