One more use for _SIG_VALID.
Submitted by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week
This commit is contained in:
parent
b144e48b2a
commit
a29af74b70
@ -633,7 +633,7 @@ db_kill(dummy1, dummy2, dummy3, dummy4)
|
||||
if (!db_expression(&pid))
|
||||
DB_ERROR(("Missing process ID\n"));
|
||||
db_skip_to_eol();
|
||||
if (sig < 1 || sig > _SIG_MAXSIG)
|
||||
if (!_SIG_VALID(sig))
|
||||
DB_ERROR(("Signal number out of range\n"));
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user