Copy memory descriptor to fix i686 compiler error

This commit is contained in:
Rafal Kupiec 2024-04-07 10:51:14 +02:00
parent 0af3a01acf
commit 7c9233c9a2
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -107,7 +107,8 @@ MmpScanMemoryDescriptors(VOID)
}
/* Store original free descriptor */
MmOldFreeDescriptor = *MmFreeDescriptor;
RtlCopyMemory(&MmOldFreeDescriptor, MmFreeDescriptor, sizeof(LOADER_MEMORY_MAPPING));
}
/** Checks whether the specified memory type should be considered as free.