mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Fix SMAP violation in join_thread()
This commit is contained in:
@@ -3370,7 +3370,7 @@ int Process::sys$join_thread(int tid, void** exit_value)
|
||||
thread = nullptr;
|
||||
|
||||
if (exit_value)
|
||||
*exit_value = joinee_exit_value;
|
||||
copy_to_user(exit_value, &joinee_exit_value, sizeof(joinee_exit_value));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user