[ros-dev] [ros-diffs] [arty] 25028: Partially unregress python 2.4 installer.
Alex Ionescu
ionucu at videotron.ca
Sun Dec 3 18:23:30 CET 2006
> Modified: branches/arty-stable/reactos/ntoskrnl/ps/process.c
> URL: http://svn.reactos.org/svn/reactos/branches/arty-stable/reactos/ntoskrnl/ps/process.c?rev=25028&r1=25027&r2=25028&view=diff
> ==============================================================================
> --- 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
More information about the Ros-dev
mailing list