#15664 closed defect (fixed)
Hang on Virtual Machine startup
回報者: | a.nosov | 負責人: | |
---|---|---|---|
元件: | host support | 版本: | VirtualBox 5.1.2 |
關鍵字: | 副本: | ||
Guest type: | Windows | Host type: | Windows |
描述
When VirtualBox is starting Virtual Machine, infinite loop occur when hardened module unhook child process. We test with our Dr.Web Antivirus test build. Name of function is supHardNtVpFreeOrReplacePrivateExecMemory. To fix this problem we make patch file.
附加檔案 (1)
更動歷史 (3)
8 年 前 由 編輯
comment:1 8 年 前 由 編輯
Infinite loop is here
for (;;)
{
SIZE_T cbActual = 0; MEMORY_BASIC_INFORMATION MemInfo2 = { 0, 0, 0, 0, 0, 0, 0 }; uintptr_t uPtrNext = (uintptr_t)pvFree + cbFree; rcNt = g_pfnNtQueryVirtualMemory(hProcess,
(void const *)uPtrNext, MemoryBasicInformation, &MemInfo2, sizeof(MemInfo2), &cbActual);
if (!NT_SUCCESS(rcNt))
break;
if (pMemInfo->AllocationBase != MemInfo2.AllocationBase)
break;
}
patch file