[core,transport] check for rdstls == NULL on accept_rdstls too

This commit is contained in:
Joan Torres 2023-03-08 18:01:28 +01:00 committed by Martin Fleisz
parent 151baa9ae5
commit b469f53c43

View File

@ -592,6 +592,9 @@ BOOL transport_accept_rdstls(rdpTransport* transport)
goto fail;
rdstls = rdstls_new(context, transport);
if (!rdstls)
goto fail;
transport_set_rdstls_mode(transport, TRUE);
if (rdstls_authenticate(rdstls) < 0)