mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r13046@catbus: nickm | 2007-05-29 11:07:12 -0400
Stop adding bogus entries to lists in router_parse_list_from_string(). I wonder which bugs _that_ caused. svn:r10390
This commit is contained in:
parent
916e98d3fa
commit
fd3aa5c85d
@ -905,11 +905,15 @@ router_parse_list_from_string(const char **s, const char *eos,
|
||||
extrainfo = extrainfo_parse_entry_from_string(*s, end,
|
||||
saved_location != SAVED_IN_CACHE,
|
||||
rl->identity_map);
|
||||
if (!extrainfo)
|
||||
continue;
|
||||
signed_desc = &extrainfo->cache_info;
|
||||
elt = extrainfo;
|
||||
} else if (!have_extrainfo && !want_extrainfo) {
|
||||
router = router_parse_entry_from_string(*s, end,
|
||||
saved_location != SAVED_IN_CACHE);
|
||||
if (!router)
|
||||
continue;
|
||||
signed_desc = &router->cache_info;
|
||||
elt = router;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user