Fix another possible bufer overflow in top.
PR: bin/22496
This commit is contained in:
parent
b25d88f34a
commit
c4b431fb58
@ -826,7 +826,7 @@ Usage: %s [-ISbinqut] [-d x] [-s x] [-o field] [-U username] [number]\n",
|
|||||||
{
|
{
|
||||||
if ((errmsg = renice_procs(tempbuf2)) != NULL)
|
if ((errmsg = renice_procs(tempbuf2)) != NULL)
|
||||||
{
|
{
|
||||||
new_message(MT_standout, errmsg);
|
new_message(MT_standout, "%s", errmsg);
|
||||||
putchar('\r');
|
putchar('\r');
|
||||||
no_command = Yes;
|
no_command = Yes;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user