mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +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: 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))
|
if (!MM.validate_user_write(*this, last_address))
|
||||||
return false;
|
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)
|
pid_t Process::sys$getsid(pid_t pid)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue