Skip to content

Commit

Permalink
libfreerdp-core: fastpath_send_input_pdu can handle fastpath PDUs up …
Browse files Browse the repository at this point in the history
…to 32k
  • Loading branch information
kiilerix committed Feb 20, 2012
1 parent 6c50dd5 commit 1500ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libfreerdp-core/fastpath.c
Expand Up @@ -546,9 +546,9 @@ boolean fastpath_send_input_pdu(rdpFastPath* fastpath, STREAM* s)
rdp = fastpath->rdp;

length = stream_get_length(s);
if (length > 127)
if (length >= (2 << 14))
{
printf("Maximum FastPath PDU length is 127\n");
printf("Maximum FastPath PDU length is 32767\n");
return false;
}

Expand Down

0 comments on commit 1500ab1

Please sign in to comment.