Kernel: Make sure null signal is not send with kill()
This commit is contained in:
parent
9ea4c777ad
commit
840000d02b
|
@ -1762,7 +1762,8 @@ namespace Kernel
|
|||
|
||||
if (pid == m_pid)
|
||||
{
|
||||
add_pending_signal(signal);
|
||||
if (signal)
|
||||
add_pending_signal(signal);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue