server/proxy: Fix bitmap update crash when target is win7
This commit is contained in:
parent
99b10aa98d
commit
c8b38fb66e
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user