Merge remote-tracking branch 'dgoulet/bug21293_031_01'

This commit is contained in:
Nick Mathewson 2017-04-25 10:43:53 -04:00
commit ec7c512d27
2 changed files with 7 additions and 1 deletions

5
changes/bug21293 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes (cell, logging):
- Downgrade a log statement from bug to protocol warning because there is
at least one use case where it can be triggered by a buggy tor
implementation on the Internet for instance. Fixes bug 21293; bugfix on
tor-0.1.1.14-alpha.

View File

@ -226,7 +226,8 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ,
return 0;
if (relay_crypt(circ, cell, cell_direction, &layer_hint, &recognized) < 0) {
log_warn(LD_BUG,"relay crypt failed. Dropping connection.");
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"relay crypt failed. Dropping connection.");
return -END_CIRC_REASON_INTERNAL;
}