diff options
-rw-r--r-- | Kernel/VM/MemoryManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp index 7944c570f0..29936251d6 100644 --- a/Kernel/VM/MemoryManager.cpp +++ b/Kernel/VM/MemoryManager.cpp @@ -668,7 +668,7 @@ bool MemoryManager::validate_range(const Process& process, VirtualAddress base_v return false; } } - vaddr = vaddr.offset(PAGE_SIZE); + vaddr = region->range().end(); } return true; } |