diff --git a/lib/soft386/opcodes.c b/lib/soft386/opcodes.c index 1e8d501565e..bb32977d24a 100644 --- a/lib/soft386/opcodes.c +++ b/lib/soft386/opcodes.c @@ -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) {