From 1879863556e9530e697fd4d92ea947a5091c39db Mon Sep 17 00:00:00 2001 From: Graham Sutherland Date: Sun, 4 Feb 2024 20:21:41 +0000 Subject: [PATCH] Fix missing variable declaration in WaitForMultipleObjects check --- al-khaser/TimingAttacks/timing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/al-khaser/TimingAttacks/timing.cpp b/al-khaser/TimingAttacks/timing.cpp index 1614c0f..63c5ec6 100644 --- a/al-khaser/TimingAttacks/timing.cpp +++ b/al-khaser/TimingAttacks/timing.cpp @@ -119,6 +119,7 @@ BOOL timing_WaitForSingleObject(UINT delayInMillis) BOOL timing_WaitForMultipleObjects(UINT delayInMillis) { HANDLE hThread; + HANDLE ghEvents[2]; DWORD i, dwEvent, dwThreadID; // Create two event objects