1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 01:59:53 +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
commit 6ff00f637b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}