From ab5858376a673c96dbcc067ba5e09d3a39174c38 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 16 Nov 2022 17:04:39 +0100 Subject: [PATCH] [core] fixed CONNECTION_STATE_MCS_CREATE_REQUEST parsing --- libfreerdp/core/rdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfreerdp/core/rdp.c b/libfreerdp/core/rdp.c index 664a4d26b..f104b687e 100644 --- a/libfreerdp/core/rdp.c +++ b/libfreerdp/core/rdp.c @@ -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: