projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2463c9
)
[ntoskrnl\mm]
author
Michael Martin
<michael.martin@reactos.org>
Tue, 27 Apr 2010 13:35:52 +0000
(13:35 +0000)
committer
Michael Martin
<michael.martin@reactos.org>
Tue, 27 Apr 2010 13:35:52 +0000
(13:35 +0000)
- Fix a continuous loop bug in MiWriteProtectSystemImage.
svn path=/trunk/; revision=47048
reactos/ntoskrnl/mm/sysldr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/sysldr.c
b/reactos/ntoskrnl/mm/sysldr.c
index
1fb86f9
..
fcecf3c
100644
(file)
--- a/
reactos/ntoskrnl/mm/sysldr.c
+++ b/
reactos/ntoskrnl/mm/sysldr.c
@@
-2154,6
+2154,10
@@
MiWriteProtectSystemImage(IN PVOID ImageBase)
{
/* Same protection, so merge the request */
CurrentAddress = BaseAddress + Size - 1;
{
/* Same protection, so merge the request */
CurrentAddress = BaseAddress + Size - 1;
+
+ /* Next */
+ Sections--;
+ Section++;
continue;
}
continue;
}