projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a9986
)
Use correct flag while checking for uninitialized segments.
author
Hartmut Birr
<osexpert@googlemail.com>
Sat, 28 May 2005 07:34:54 +0000
(07:34 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Sat, 28 May 2005 07:34:54 +0000
(07:34 +0000)
svn path=/trunk/; revision=15559
reactos/ntoskrnl/mm/section.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/section.c
b/reactos/ntoskrnl/mm/section.c
index
3f14d7d
..
e408d66
100644
(file)
--- a/
reactos/ntoskrnl/mm/section.c
+++ b/
reactos/ntoskrnl/mm/section.c
@@
-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);