Initialized all stack related values.
Modified: trunk/reactos/lib/rtl/thread.c
_____
Modified: trunk/reactos/lib/rtl/thread.c
--- trunk/reactos/lib/rtl/thread.c 2005-07-21 18:22:45 UTC (rev
16683)
+++ trunk/reactos/lib/rtl/thread.c 2005-07-21 18:32:28 UTC (rev
16684)
@@ -88,6 +88,8 @@
}
/* Now set up some basic Initial TEB Parameters */
+ InitialTeb->PreviousStackBase = NULL;
+ InitialTeb->PreviousStackLimit = NULL;
InitialTeb->AllocatedStackBase = (PVOID)Stack;
InitialTeb->StackBase = (PVOID)(Stack + StackReserve);
Show replies by date