mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Kernel: Write address validation was only checking end of write range
Thanks to yyyyyyy for finding the bug! :^)
This commit is contained in:
parent
d8ef13a426
commit
903b159856
1 changed files with 1 additions and 1 deletions
|
@ -2010,7 +2010,7 @@ bool Process::validate_write(void* address, ssize_t size) const
|
|||
if (!MM.validate_user_write(*this, last_address))
|
||||
return false;
|
||||
}
|
||||
return MM.validate_user_write(*this, last_address);
|
||||
return MM.validate_user_write(*this, first_address);
|
||||
}
|
||||
|
||||
pid_t Process::sys$getsid(pid_t pid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue