mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-11 18:54:41 +08:00
Fix #3378: 31 static channels are supported.
This commit is contained in:
parent
d982cf0e90
commit
377bfeb227
@ -35,7 +35,7 @@
|
||||
#include <freerdp/client/drdynvc.h>
|
||||
#include <freerdp/channels/channels.h>
|
||||
|
||||
#define CHANNEL_MAX_COUNT 30
|
||||
#define CHANNEL_MAX_COUNT 31
|
||||
|
||||
struct rdp_channel_client_data
|
||||
{
|
||||
|
@ -1526,7 +1526,7 @@ BOOL gcc_read_client_network_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
|
||||
if (blockLength < 4 + mcs->channelCount * 12)
|
||||
return FALSE;
|
||||
|
||||
if (mcs->channelCount > 16)
|
||||
if (mcs->channelCount > CHANNEL_MAX_COUNT)
|
||||
return FALSE;
|
||||
|
||||
/* channelDefArray */
|
||||
|
@ -66,7 +66,7 @@
|
||||
#define CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000
|
||||
#define CHANNEL_OPTION_REMOTE_CONTROL_PERSISTENT 0x00100000
|
||||
|
||||
#define CHANNEL_MAX_COUNT 30
|
||||
#define CHANNEL_MAX_COUNT 31
|
||||
#define CHANNEL_NAME_LEN 7
|
||||
|
||||
typedef struct tagCHANNEL_DEF
|
||||
|
Loading…
Reference in New Issue
Block a user