mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 10:35:54 +00:00
[SOFT386]
Clear the memory block before it's used. svn path=/branches/ntvdm/; revision=60612
This commit is contained in:
parent
800969b126
commit
20486fd1b7
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue