Fixed #5843 wrong header length for pdu

@boom1 reported encomsp_send_change_participant_control_level_pdu
fails due to wrong length.
This commit is contained in:
Armin Novak 2020-01-16 15:30:33 +01:00
parent 03e2106f25
commit afaee324bb

View File

@ -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)
{