mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Add an additional log message to try to diagnose #22719
This commit is contained in:
parent
89d0261eb5
commit
6caf924605
@ -574,6 +574,10 @@ tor_compress_process(tor_compress_state_t *state,
|
|||||||
if (BUG((rv == TOR_COMPRESS_OK) &&
|
if (BUG((rv == TOR_COMPRESS_OK) &&
|
||||||
*in_len == in_len_orig &&
|
*in_len == in_len_orig &&
|
||||||
*out_len == out_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;
|
return TOR_COMPRESS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user