mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:07:34 +00:00
Kernel: Validate access to whole regions
This commit is contained in:
parent
0dd68a2949
commit
746db0bedb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue