Fix bug when parsing list of router descriptors containing a truncated entry. (Found by Lasse)

svn:r5327
This commit is contained in:
Nick Mathewson
2005-10-28 15:56:19 +00:00
parent 267af9ecf9
commit 76988bafbe
+1
View File
@@ -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;
}