server/proxy: Fix bitmap update crash when target is win7

This commit is contained in:
kubistika 2019-06-04 17:33:48 +03:00
parent 99b10aa98d
commit c8b38fb66e
2 changed files with 5 additions and 0 deletions

View File

@ -98,6 +98,8 @@ static BOOL pf_client_pre_connect(freerdp* instance)
* Only override it if you plan to implement custom order
* callbacks or deactiveate certain features.
*/
ZeroMemory(instance->settings->OrderSupport, 32);
/**
* Register the channel listeners.
* They are required to set up / tear down channels if they are loaded.

View File

@ -239,6 +239,9 @@ static DWORD WINAPI pf_server_handle_client(LPVOID arg)
goto out_free_peer;
}
ZeroMemory(client->settings->OrderSupport, 32);
client->update->autoCalculateBitmapData = FALSE;
pdata->ps = ps;
/* keep configuration in proxyData */
pdata->config = client->ContextExtra;