mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 15:54:57 +03:00
Fix use-after-free timeout issue for L2TP and SSTP
This commit is contained in:
@ -16899,6 +16899,7 @@ TUBE *NewTube(UINT size_of_header)
|
||||
t->SockEvent = NewSockEvent();
|
||||
|
||||
t->SizeOfHeader = size_of_header;
|
||||
t->DataTimeout = 0;
|
||||
|
||||
return t;
|
||||
}
|
||||
|
@ -412,6 +412,7 @@ struct TUBE
|
||||
bool IsInFlushList; // Whether it is registered in the Tube Flush List
|
||||
void *Param1, *Param2, *Param3;
|
||||
UINT IntParam1, IntParam2, IntParam3;
|
||||
UINT64 DataTimeout;
|
||||
};
|
||||
|
||||
// Data that is to send and to receive in the tube
|
||||
|
Reference in New Issue
Block a user