diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-18 20:17:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-18 20:17:28 -0500 |
commit | 0fb3058eced5dce355d777288bd9ec255b875db4 (patch) | |
tree | 649dd8c22b9d7138171e50418b3633b5070706ad | |
parent | d978216dea6b21ac38230a59d172139185a68dbd (diff) | |
download | tor-0fb3058eced5dce355d777288bd9ec255b875db4.tar.gz tor-0fb3058eced5dce355d777288bd9ec255b875db4.zip |
Make log message warn about detected attempts to exploit 21018.
-rw-r--r-- | src/or/rendcommon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index d1f8b1af99..296df55664 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -1327,8 +1327,10 @@ rend_cache_store_v2_desc_as_client(const char *desc, intro_size); if (n_intro_points <= 0) { log_warn(LD_REND, "Failed to parse introduction points. Either the " - "service has published a corrupt descriptor or you have " - "provided invalid authorization data."); + "service has published a corrupt descriptor, or you have " + "provided invalid authorization data, or (maybe!) the " + "server is deliberately serving broken data in an attempt " + "to crash you with bug 21018."); retval = -2; goto err; } else if (n_intro_points > MAX_INTRO_POINTS) { |