Increased size of stream on GCC conference create request from 512 to 1024. For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.

This commit is contained in:
vworkspace
2014-01-31 13:52:37 -05:00
parent 02c9d07bcf
commit aca384992f

View File

@@ -464,7 +464,7 @@ BOOL mcs_send_connect_initial(rdpMcs* mcs)
client_data = Stream_New(NULL, 512);
gcc_write_client_data_blocks(client_data, mcs->transport->settings);
gcc_CCrq = Stream_New(NULL, 512);
gcc_CCrq = Stream_New(NULL, 1024);
gcc_write_conference_create_request(gcc_CCrq, client_data);
length = Stream_GetPosition(gcc_CCrq) + 7;