Fix stack corruption. Thanks to Waxdragon and the fact he uses an -O2
build (hint hint nudge nudge)
Modified: trunk/reactos/ntoskrnl/ex/work.c
_____
Modified: trunk/reactos/ntoskrnl/ex/work.c
--- trunk/reactos/ntoskrnl/ex/work.c 2006-01-05 04:26:55 UTC (rev
20568)
+++ trunk/reactos/ntoskrnl/ex/work.c 2006-01-05 06:24:07 UTC (rev
20569)
@@ -425,7 +425,7 @@
KTIMER Timer;
LARGE_INTEGER Timeout;
NTSTATUS Status;
- PVOID WaitEvents[2];
+ PVOID WaitEvents[3];
PAGED_CODE();
UNREFERENCED_PARAMETER(Context);