mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix a bug in MiAllocatePagesForMdl that made it loop forever on the 1st page.
svn path=/trunk/; revision=44378
This commit is contained in:
parent
b9e2cd6419
commit
072306f953
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
|
|||
//
|
||||
// Check if we've reached the end
|
||||
//
|
||||
Page = *MdlPage;
|
||||
Page = *MdlPage++;
|
||||
if (Page == (PFN_NUMBER)-1) break;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue