From 91cc7ff5c0f387d39c5999032b4472cbb00e1cd6 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 21 Dec 2019 18:56:14 +1100 Subject: Add cbSize parameter to BOOTSTRAPPER_COMMAND. --- src/engine/engine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/engine/engine.cpp') diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 190c327f..341fd471 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -98,6 +98,7 @@ extern "C" HRESULT EngineRun( BOOL fRestart = FALSE; BURN_ENGINE_STATE engineState = { }; + engineState.command.cbSize = sizeof(BOOTSTRAPPER_COMMAND); // Always initialize logging first LogInitialize(::GetModuleHandleW(NULL)); -- cgit v1.2.3-55-g6feb