1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 01:59:53 +03:00

Cedar/Proto.c: fix crash in ProtoHandleConnection()

The bug was introduced in 8685fe0da1.
This commit is contained in:
sl077 2020-12-09 01:11:30 +01:00 committed by Davide Beatrici
parent f03e83369e
commit 5611156ca8

View File

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