mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
SessionRequest must be min 88 bytes
This commit is contained in:
parent
c5230ca44b
commit
df737a65b2
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ namespace transport
|
||||||
void SSU2Session::ProcessSessionRequest (Header& header, uint8_t * buf, size_t len)
|
void SSU2Session::ProcessSessionRequest (Header& header, uint8_t * buf, size_t len)
|
||||||
{
|
{
|
||||||
// we are Bob
|
// we are Bob
|
||||||
if (len < 80)
|
if (len < 88)
|
||||||
{
|
{
|
||||||
LogPrint (eLogWarning, "SSU2: SessionRequest message too short ", len);
|
LogPrint (eLogWarning, "SSU2: SessionRequest message too short ", len);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue