mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix bug when parsing list of router descriptors containing a truncated entry. (Found by Lasse)
svn:r5327
This commit is contained in:
@@ -675,6 +675,7 @@ router_parse_list_from_string(const char **s, smartlist_t *dest)
|
||||
|
||||
if (strcmpstart(cp, "\n-----END SIGNATURE-----\n")) {
|
||||
info(LD_DIR, "Ignoring truncated router descriptor.");
|
||||
*s = end;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user