mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +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:
commit
6ff00f637b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user