Merge pull request #905 from mfleisz/master
libfreerdp-core: fix server crash when accepting NLA connections
This commit is contained in:
commit
fbefad93d5
@ -259,6 +259,9 @@ BOOL transport_accept_nla(rdpTransport* transport)
|
||||
if (transport->TlsIn == NULL)
|
||||
transport->TlsIn = tls_new(transport->settings);
|
||||
|
||||
if (transport->TlsOut == NULL)
|
||||
transport->TlsOut = transport->TlsIn;
|
||||
|
||||
transport->layer = TRANSPORT_LAYER_TLS;
|
||||
transport->TlsIn->sockfd = transport->TcpIn->sockfd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user