diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-02-26 08:00:56 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-02-26 08:01:40 +0100 |
commit | 1c39dbd53a4c47ac3bfd6770d0ca2f8f058f888b (patch) | |
tree | 49a660f06db6e600f78d73b9307621fabbf98d3a /src/or | |
parent | 1e1d471002c976477919b2e41fbe62457998e5c0 (diff) | |
download | tor-1c39dbd53a4c47ac3bfd6770d0ca2f8f058f888b.tar.gz tor-1c39dbd53a4c47ac3bfd6770d0ca2f8f058f888b.zip |
Don't segfault when checking the consensus
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 99cd29d6d7..940a2d83e1 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -3078,6 +3078,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out, { int found_sig = 0; SMARTLIST_FOREACH_BEGIN(footer_tokens, directory_token_t *, _tok) { + tok = _tok; if (tok->tp == K_DIRECTORY_SIGNATURE) found_sig = 1; else if (found_sig) { |