Kernel: Make sure null signal is not send with kill()

This commit is contained in:
Bananymous 2024-08-01 21:41:54 +03:00
parent 9ea4c777ad
commit 840000d02b
1 changed files with 2 additions and 1 deletions

View File

@ -1762,7 +1762,8 @@ namespace Kernel
if (pid == m_pid) if (pid == m_pid)
{ {
add_pending_signal(signal); if (signal)
add_pending_signal(signal);
return 0; return 0;
} }