mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Use correct flag while checking for uninitialized segments.
svn path=/trunk/; revision=15559
This commit is contained in:
parent
a5a9986767
commit
2ff428f5e5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue