mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-24 17:35:31 +00:00
We were doing stack and syscall-origin region validations before taking the big process lock. There was a window of time where those regions could then be unmapped/remapped by another thread before we proceed with our syscall. This patch closes that window, and makes sys$get_stack_bounds() rely on the fact that we now know the userspace stack pointer to be valid. Thanks to @BenWiederhake for spotting this! :^)
7.8 KiB
7.8 KiB