Modified:
branches/arty-stable/reactos/ntoskrnl/ps/process.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-stable/reactos/ntoskrnl/ps…
==============================================================================
--- branches/arty-stable/reactos/ntoskrnl/ps/process.c (original)
+++ branches/arty-stable/reactos/ntoskrnl/ps/process.c Sun Dec 3 13:42:35 2006
@@ -560,6 +560,8 @@
/* Create or Clone the Handle Table */
ObpCreateHandleTable(Parent, Process);
+ memset(&Process->VadRoot, 0, sizeof(Process->VadRoot));
+
/* Set Process's Directory Base */
MmCopyMmInfo(Parent ? Parent : PsInitialSystemProcess,
Process,
Please use RtlZeroMemory in the kernel.
Please keep in mind the compartmentalization of the kernel for large
objects. Such a line should go somewhere like MmInitailizeXxx for the
process.
--
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS