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:
parent
03e2106f25
commit
afaee324bb
@ -703,7 +703,7 @@ static UINT encomsp_send_change_participant_control_level_pdu(
|
|||||||
encomsp = (encomspPlugin*)context->handle;
|
encomsp = (encomspPlugin*)context->handle;
|
||||||
header.Type = ODTYPE_PARTICIPANT_CTRL_CHANGED;
|
header.Type = ODTYPE_PARTICIPANT_CTRL_CHANGED;
|
||||||
header.Length = ENCOMSP_ORDER_HEADER_SIZE + 6;
|
header.Length = ENCOMSP_ORDER_HEADER_SIZE + 6;
|
||||||
s = Stream_New(NULL, pdu->Length);
|
s = Stream_New(NULL, header.Length);
|
||||||
|
|
||||||
if (!s)
|
if (!s)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user