mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
SessionRequest must be min 88 bytes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user