Fix stack corruption. Thanks to Waxdragon and the fact he uses an -O2 build (hint...
authorAlex Ionescu <aionescu@gmail.com>
Thu, 5 Jan 2006 06:24:07 +0000 (06:24 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 5 Jan 2006 06:24:07 +0000 (06:24 +0000)
svn path=/trunk/; revision=20569

reactos/ntoskrnl/ex/work.c

index c375f24..5af58d8 100644 (file)
@@ -425,7 +425,7 @@ ExpWorkerThreadBalanceManager(IN PVOID Context)
     KTIMER Timer;
     LARGE_INTEGER Timeout;
     NTSTATUS Status;
-    PVOID WaitEvents[2];
+    PVOID WaitEvents[3];
     PAGED_CODE();
     UNREFERENCED_PARAMETER(Context);