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.
On Sun, 03 Dec 2006 12:23:30 -0500 Alex Ionescu ionucu@videotron.ca wrote:
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.
It isn't code anyone except me needs to be concerned about, but thanks for the advice.