lib9: reject postnote with special pids
This commit is contained in:
parent
fdcf3d70c2
commit
0cc1faf015
@ -18,6 +18,11 @@ postnote(int who, int pid, char *msg)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(pid <= 0){
|
||||
werrstr("bad pid in postnote");
|
||||
return -1;
|
||||
}
|
||||
|
||||
switch(who){
|
||||
default:
|
||||
werrstr("bad who in postnote");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user