3.1.5.1 Processing a Clipboard PDU
All clipboard PDUs are prefaced by the Clipboard PDU Header structure.
When processing a clipboard PDU, the msgType field in the header MUST first be examined to determine if the PDU is within the subset of expected messages. If the PDU is not expected, it SHOULD be ignored.
After determining that the PDU is in the correct sequence, the dataLen field MUST be examined to make sure that it is consistent with the amount of data read from the "CLIPRDR" static virtual channel. If this is not the case, the connection SHOULD be dropped.