3.2.5.1.3 Processing a Filter-Updated PDU

The receiver of the Filter-Updated PDU (OD_FILTER_STATE_UPDATED) (section 2.2.3.1) MUST first validate the common header for consistency (section 3.1.5.1). If the PDU size is not long enough to contain all the fields in the message, the connection SHOULD be terminated.<12>

After the header is validated, the receiver MUST read the Flags field to determine whether application and windowing filtering are enabled by the sharing manager (see Filter-Updated PDU (OD_FILTER_STATE_UPDATED) (section 2.2.3.1)). The receiver SHOULD also remove all the windows and applications that it lists, because the sharing manager is about to send an updated list.<13>