mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
SessionRequest must be min 88 bytes
This commit is contained in:
parent
c5230ca44b
commit
df737a65b2
|
@ -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…
Reference in a new issue