From afaee324bb90defe381614286fb422fffd303e1e Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 16 Jan 2020 15:30:33 +0100 Subject: [PATCH] Fixed #5843 wrong header length for pdu @boom1 reported encomsp_send_change_participant_control_level_pdu fails due to wrong length. --- channels/encomsp/client/encomsp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/encomsp/client/encomsp_main.c b/channels/encomsp/client/encomsp_main.c index c6440617e..40891aefc 100644 --- a/channels/encomsp/client/encomsp_main.c +++ b/channels/encomsp/client/encomsp_main.c @@ -703,7 +703,7 @@ static UINT encomsp_send_change_participant_control_level_pdu( encomsp = (encomspPlugin*)context->handle; header.Type = ODTYPE_PARTICIPANT_CTRL_CHANGED; header.Length = ENCOMSP_ORDER_HEADER_SIZE + 6; - s = Stream_New(NULL, pdu->Length); + s = Stream_New(NULL, header.Length); if (!s) {