mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
Fix a braindead bug that killed my system (512MB) since the loop goes on past 4096 pages if you have enough non paged pool... do you even test this?
svn path=/trunk/; revision=41860
This commit is contained in:
parent
2aabdcc5fd
commit
b6f27fe11d
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ MmArmInitSystem(IN ULONG Phase,
|
|||
{
|
||||
Buffers[i] = MiAllocatePoolPages(NonPagedPool, PAGE_SIZE);
|
||||
if (!Buffers[i]) break;
|
||||
if (i == 4096) break;
|
||||
i++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue