1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00

Kernel: Fix bug in process termination on missing signal handler.

This commit is contained in:
Andreas Kling 2019-01-24 21:22:13 +01:00
parent ff4d6afb60
commit 2159d6bf76

View file

@ -793,7 +793,7 @@ bool Process::dispatch_signal(byte signal)
if (handler_laddr.is_null()) {
// FIXME: Is termination really always the appropriate action?
terminate_due_to_signal(signal);
return true;
return false;
}
m_pending_signals &= ~(1 << signal);