Skip to content
Snippets Groups Projects
Commit bc64a6b2 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix crashes in tests

parent 07b3028d
No related branches found
No related tags found
No related merge requests found
......@@ -3173,7 +3173,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
"http://freehaven.net/anonbib/#hs-attack06 for details.");
}
if (routerset_is_list(options->EntryNodes) &&
if (options->EntryNodes &&
routerset_is_list(options->EntryNodes) &&
(routerset_len(options->EntryNodes) == 1) &&
(options->RendConfigLines != NULL)) {
tor_asprintf(msg,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment