Ignore T.128 FlowPDU in Share Control header
authorMehul Dhorda <mehul@hopto.com>
Wed, 5 Nov 2014 19:32:46 +0000 (11:32 -0800)
committerMehul Dhorda <mehul@hopto.com>
Wed, 5 Nov 2014 19:32:46 +0000 (11:32 -0800)
commitf64d620a3bb2450fb6f43e8d418fd248cc8ce733
treedbcd0be081aab07c5321e0432b695a9beb2b0b83
parent2cb47d119b50d9b2761f809ad49501f7336b17a3
Ignore T.128 FlowPDU in Share Control header

According to the Microsoft RDP specification, T.128 flow control PDUs
should be ignored when reading Share Control headers.
(http://msdn.microsoft.com/en-us/library/cc240576.aspx). This patch
checks if we got a flow control PDU (length = 0x8000) and advances the
stream to ignore the PDU.
libfreerdp/core/peer.c
libfreerdp/core/rdp.c
libfreerdp/core/rdp.h