[core,server] fixed peer multimonitor handling
if there is no RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU announced and we did
not handle the data received rerun in active state.
@@ -1041,8 +1041,13 @@ static state_run_t peer_recv_callback_internal(rdpTransport* transport, wStream*
ret = STATE_RUN_SUCCESS;
free(monitors);
}
+ else
+ {
+ if (Stream_GetRemainingLength(s) > 0)
+ ret = STATE_RUN_CONTINUE;
else
ret = STATE_RUN_SUCCESS;
+ }
if (!rdp_server_transition_to_state(
rdp, CONNECTION_STATE_CAPABILITIES_EXCHANGE_CONFIRM_ACTIVE))
ret = STATE_RUN_FAILED;
