signal: fix stack corruption on action reset

This commit is contained in:
Matheus
2024-06-27 22:59:29 -03:00
parent d8d39a288a
commit 48ebc6c0ce
+1 -1
View File
@@ -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: