diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-05 00:39:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-05 00:39:01 -0400 |
commit | 99062c4003ad9ec35fe84842f692047cc12477df (patch) | |
tree | b134a78462752e50913f23f19909ec1ce80be07c | |
parent | 4080d9b0fa9dd4cab903599d6f7f3ed0785e2420 (diff) | |
download | tor-99062c4003ad9ec35fe84842f692047cc12477df.tar.gz tor-99062c4003ad9ec35fe84842f692047cc12477df.zip |
Spotted another missing check
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 27de0aecdf..9362a27b26 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -222,7 +222,7 @@ router_supports_extrainfo(const char *identity_digest, int is_authority) { const node_t *node = node_get_by_id(identity_digest); - if (node->ri) { + if (node && node->ri) { if (node->ri->caches_extra_info) return 1; if (is_authority && node->ri->platform && |