mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-24 04:37:37 +01:00
fix
This commit is contained in:
parent
ed960eacc2
commit
dacd97de30
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ namespace garlic
|
|||
buf += 8; // Date
|
||||
buf += 3; // Certificate
|
||||
offset = buf1 - buf;
|
||||
if (offset > (int)len || offset <= 0)
|
||||
if (offset > (int)len)
|
||||
{
|
||||
LogPrint (eLogError, "Garlic: clove is too long");
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue