]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make log message warn about detected attempts to exploit 21018.
authorNick Mathewson <nickm@torproject.org>
Mon, 19 Dec 2016 01:17:28 +0000 (20:17 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 19 Dec 2016 01:17:28 +0000 (20:17 -0500)
src/or/rendcommon.c

index d1f8b1af99b26c6cff6d3debb719201c4282777c..296df556642599a420cbde3b75c62b7656974cc6 100644 (file)
@@ -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) {