mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-24 05:24:10 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user