mirror of
https://github.com/reactos/reactos.git
synced 2024-12-22 18:43:30 +08: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
@ -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 New Issue
Block a user