[SOFT386]

Clear the memory block before it's used.


svn path=/branches/ntvdm/; revision=60612
This commit is contained in:
Aleksandar Andrejevic 2013-10-11 16:31:35 +00:00
parent 800969b126
commit 20486fd1b7

View file

@ -6341,6 +6341,9 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeIns)
ULONG Count = OperandSize ? State->GeneralRegs[SOFT386_REG_ECX].Long
: State->GeneralRegs[SOFT386_REG_ECX].LowWord;
/* Clear the memory block */
RtlZeroMemory(Block, sizeof(Block));
/* Transfer until finished */
while (Count)
{