[ros-diffs] [hbirr] 15559: Use correct flag while checking for uninitialized segments.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Sat May 28 09:34:55 CEST 2005


Use correct flag while checking for uninitialized segments.
Modified: trunk/reactos/ntoskrnl/mm/section.c
  _____  

Modified: trunk/reactos/ntoskrnl/mm/section.c
--- trunk/reactos/ntoskrnl/mm/section.c	2005-05-28 07:32:23 UTC (rev
15558)
+++ trunk/reactos/ntoskrnl/mm/section.c	2005-05-28 07:34:54 UTC (rev
15559)
@@ -861,7 +861,7 @@

    /*
     * Map anonymous memory for BSS sections
     */
-   if (Segment->Characteristics & IMAGE_SCN_LNK_OTHER)
+   if (Segment->Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA)
    {
       MmUnlockSectionSegment(Segment);
       Status = MmRequestPageMemoryConsumer(MC_USER, FALSE, &Page);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050528/fdf09652/attachment.html


More information about the Ros-diffs mailing list