[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diffs for top
/usr/src/usr.bin/top/top.c
764c764
< new_message(MT_standout, errmsg);
---
> new_message(MT_standout, "%s", errmsg);
781c781
< new_message(MT_standout, errmsg);
---
> new_message(MT_standout, "%s", errmsg);
Fixes a format string error in the kill (k) command. I doubt that this is
exploitable due to the string being restricted to a 50 byte input buffer
(and setgid program cant coredump) that doesnt seem to be able to
reference arbitary mem addrs, but still its better for things to be
patched up.
Ben Bidner
vort@wiretapped.net