mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +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
Notes:
sideshowbarker
2024-07-19 10:30:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/903b159856b
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…
Reference in a new issue