mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
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
|
* Only override it if you plan to implement custom order
|
||||||
* callbacks or deactiveate certain features.
|
* callbacks or deactiveate certain features.
|
||||||
*/
|
*/
|
||||||
|
ZeroMemory(instance->settings->OrderSupport, 32);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register the channel listeners.
|
* Register the channel listeners.
|
||||||
* They are required to set up / tear down channels if they are loaded.
|
* 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;
|
goto out_free_peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ZeroMemory(client->settings->OrderSupport, 32);
|
||||||
|
client->update->autoCalculateBitmapData = FALSE;
|
||||||
pdata->ps = ps;
|
pdata->ps = ps;
|
||||||
/* keep configuration in proxyData */
|
/* keep configuration in proxyData */
|
||||||
pdata->config = client->ContextExtra;
|
pdata->config = client->ContextExtra;
|
||||||
|
Loading…
Reference in New Issue
Block a user