]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add an additional log message to try to diagnose #22719
authorNick Mathewson <nickm@torproject.org>
Sat, 24 Jun 2017 15:27:46 +0000 (11:27 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 24 Jun 2017 15:27:46 +0000 (11:27 -0400)
src/common/compress.c

index 7926faaa6090794401a8e80e17106c7fc1b5f774..4e19080c0b21be97c9b0f4e3f05ab4069f8aa5ae 100644 (file)
@@ -574,6 +574,10 @@ tor_compress_process(tor_compress_state_t *state,
   if (BUG((rv == TOR_COMPRESS_OK) &&
           *in_len == in_len_orig &&
           *out_len == out_len_orig)) {
+    log_warn(LD_GENERAL,
+             "More info on the bug: *in_len == in_len_orig == %lu, "
+             "*out_len == out_len_orig == %lu",
+             (unsigned long)in_len_orig, (unsigned long)out_len_orig);
     return TOR_COMPRESS_ERROR;
   }