Browse Source

SessionRequest must be min 88 bytes

pull/1827/head
orignal 2 years ago
parent
commit
df737a65b2
  1. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/SSU2Session.cpp

@ -611,7 +611,7 @@ namespace transport @@ -611,7 +611,7 @@ namespace transport
void SSU2Session::ProcessSessionRequest (Header& header, uint8_t * buf, size_t len)
{
// we are Bob
if (len < 80)
if (len < 88)
{
LogPrint (eLogWarning, "SSU2: SessionRequest message too short ", len);
return;

Loading…
Cancel
Save