mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix crashes in tests
This commit is contained in:
parent
07b3028db7
commit
bc64a6b2b9
@ -3173,7 +3173,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
|||||||
"http://freehaven.net/anonbib/#hs-attack06 for details.");
|
"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) &&
|
(routerset_len(options->EntryNodes) == 1) &&
|
||||||
(options->RendConfigLines != NULL)) {
|
(options->RendConfigLines != NULL)) {
|
||||||
tor_asprintf(msg,
|
tor_asprintf(msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user