[core] fixed CONNECTION_STATE_MCS_CREATE_REQUEST parsing

This commit is contained in:
Armin Novak 2022-11-16 17:04:39 +01:00 committed by akallabeth
parent 37d09800af
commit ab5858376a

View File

@ -1711,7 +1711,8 @@ static state_run_t rdp_recv_callback_int(rdpTransport* transport, wStream* s, vo
}
else if (!rdp_client_transition_to_state(rdp, CONNECTION_STATE_MCS_CREATE_RESPONSE))
status = STATE_RUN_FAILED;
else if (Stream_GetRemainingLength(s) > 0)
status = STATE_RUN_CONTINUE;
break;
case CONNECTION_STATE_MCS_CREATE_RESPONSE: