mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
signal: fix stack corruption on action reset
This commit is contained in:
@@ -415,7 +415,7 @@ bool signal_check(struct thread_t *thread, context_t *context, bool syscall, uin
|
||||
|
||||
// reset handler if asked for
|
||||
if (action->flags & SA_RESETHAND)
|
||||
memset(&action, 0, sizeof(sigaction_t));
|
||||
memset(action, 0, sizeof(sigaction_t));
|
||||
}
|
||||
|
||||
leave:
|
||||
|
||||
Reference in New Issue
Block a user