From 9b7d83c3842e1e892a8efd791970211df5aef9ae Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 3 Nov 2000 22:00:10 +0000 Subject: Fix another possible bufer overflow in top. PR: bin/22496 --- contrib/top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/top') diff --git a/contrib/top/top.c b/contrib/top/top.c index 3123a0d..94a02f2 100644 --- a/contrib/top/top.c +++ b/contrib/top/top.c @@ -826,7 +826,7 @@ Usage: %s [-ISbinqut] [-d x] [-s x] [-o field] [-U username] [number]\n", { if ((errmsg = renice_procs(tempbuf2)) != NULL) { - new_message(MT_standout, errmsg); + new_message(MT_standout, "%s", errmsg); putchar('\r'); no_command = Yes; } -- cgit v1.1