Use correct flag while checking for uninitialized segments.

svn path=/trunk/; revision=15559
This commit is contained in:
Hartmut Birr 2005-05-28 07:34:54 +00:00
parent a5a9986767
commit 2ff428f5e5

View file

@ -861,7 +861,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
/*
* 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);