Commit 76988baf authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

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


svn:r5327
parent 267af9ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
    }