Skip to content
Snippets Groups Projects
Commit 7b5f558d authored by Yawning Angel's avatar Yawning Angel Committed by Nick Mathewson
Browse files

Treat empty introduction points sections as missing.

Found by DonnchaC.
parent 49ddd92c
No related branches found
No related tags found
No related merge requests found
......@@ -1301,7 +1301,7 @@ rend_cache_store_v2_desc_as_client(const char *desc,
goto err;
}
/* Decode/decrypt introduction points. */
if (intro_content) {
if (intro_content && intro_size > 0) {
int n_intro_points;
if (rend_query->auth_type != REND_NO_AUTH &&
!tor_mem_is_zero(rend_query->descriptor_cookie,
......
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