aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 93e0019de8..070030d8b7 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4757,6 +4757,8 @@ routerlist_check_bug_417(void)
int idx = -1;
ri_generated = router_get_my_routerinfo();
+ if (!ri_generated)
+ return;
r = digestmap_get(rl->identity_map,
ri_generated->cache_info.identity_digest);