Fixed broken pad setting.
This commit is contained in:
parent
423b15108d
commit
ea0e255058
@ -455,7 +455,7 @@ static BOOL rdp_security_stream_out(rdpRdp* rdp, wStream* s, int length, UINT32
|
|||||||
*pad = 8 - (length % 8);
|
*pad = 8 - (length % 8);
|
||||||
|
|
||||||
if (*pad == 8)
|
if (*pad == 8)
|
||||||
pad = 0;
|
*pad = 0;
|
||||||
if (*pad)
|
if (*pad)
|
||||||
memset(data+length, 0, *pad);
|
memset(data+length, 0, *pad);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user