diff --git a/kernel/kernel/Memory/MemoryRegion.cpp b/kernel/kernel/Memory/MemoryRegion.cpp index 823760211d..cb306d88ab 100644 --- a/kernel/kernel/Memory/MemoryRegion.cpp +++ b/kernel/kernel/Memory/MemoryRegion.cpp @@ -40,7 +40,7 @@ namespace Kernel bool MemoryRegion::overlaps(vaddr_t address, size_t size) const { - if (address + size < m_vaddr) + if (address + size <= m_vaddr) return false; if (address >= m_vaddr + m_size) return false;