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

Fix some problems with the bug9002 fix.

Fixes bug 9090; bug not in any released Tor.
parent c37fdc2e
No related branches found
No related tags found
No related merge requests found
......@@ -1081,6 +1081,7 @@ rend_cache_store(const char *desc, size_t desc_len, int published,
"attempt to improve reliability, but it could also be an "
"attempt to do a guard enumeration attack. Rejecting.",
safe_str_client(query));
rend_service_descriptor_free(parsed);
return -2;
}
tor_snprintf(key, sizeof(key), "0%s", query);
......@@ -1336,6 +1337,8 @@ rend_cache_store_v2_desc_as_client(const char *desc,
"attempt to improve reliability, but it could also be an "
"attempt to do a guard enumeration attack. Rejecting.",
safe_str_client(rend_query->onion_address));
retval = -2;
goto err;
}
} else {
log_info(LD_REND, "Descriptor does not contain any introduction points.");
......
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