1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-09 09:14:57 +03:00

Merge pull request #1249 from davidebeatrici/proto-sstp-handleconnection-crash-fix

Cedar/Proto.c: fix crash in ProtoHandleConnection()
This commit is contained in:
Ilya Shipitsin
2020-12-08 21:26:20 -08:00
committed by GitHub

View File

@ -510,7 +510,7 @@ bool ProtoHandleConnection(PROTO *proto, SOCK *sock, const char *protocol)
const PROTO_CONTAINER *tmp = LIST_DATA(proto->Containers, i); const PROTO_CONTAINER *tmp = LIST_DATA(proto->Containers, i);
if (StrCmp(tmp->Name, protocol) == 0) if (StrCmp(tmp->Name, protocol) == 0)
{ {
impl = container->Impl; container = tmp;
break; break;
} }
} }