freebsd-nq/usr.bin/top
Dimitry Andric 281bdc30df Fix more AddressSanitizer violations in usr.bin/top
In line_update(), set lastcol correctly after moving to any non-zero
column, so the "overwrite old stuff" part does not attempt to address
negative offsets in the current line.

Rewrite setup_buffer() to always allocate at least 80 characters,
otherwise various calls to summary_format() will overwrite the end of
the buffers, if the screen width gets small enough.

MFC after:	1 week
2019-02-20 20:17:54 +00:00
..
commands.c top(1): reimplement header formatting as sbuf 2018-06-22 09:21:01 +00:00
commands.h top(1): move command mapping to commands.c 2018-06-12 06:53:31 +00:00
display.c Fix more AddressSanitizer violations in usr.bin/top 2019-02-20 20:17:54 +00:00
display.h Fix multiple warnings in usr.bin/top about discarded qualifiers from 2019-02-10 13:31:08 +00:00
layout.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
loadavg.h top(1): filter fewer warnings; clean up 2018-06-10 06:21:51 +00:00
machine.c Fix multiple warnings in usr.bin/top about discarded qualifiers from 2019-02-10 13:31:08 +00:00
machine.h top(1): garbage collect 2018-06-22 10:17:12 +00:00
Makefile Fix multiple warnings in usr.bin/top about variables shadowing global 2019-02-10 13:34:21 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
screen.c top(1): Use warnx and errx instead of fprintf 2018-08-22 10:07:15 +00:00
screen.h top(1): remove special handling of load > 5 2018-06-22 09:45:18 +00:00
top.1 top(1): Rework DESCRIPTION OF MEMORY section. 2018-10-02 08:13:54 +00:00
top.c Fix multiple warnings in usr.bin/top about discarded qualifiers from 2019-02-10 13:31:08 +00:00
top.h top(1): Use warnx and errx instead of fprintf 2018-08-22 10:07:15 +00:00
username.c Fix multiple warnings in usr.bin/top about variables shadowing global 2019-02-10 13:34:21 +00:00
username.h top(1): partial revert of r334517 2018-06-03 05:20:11 +00:00
utils.c Fix multiple warnings in usr.bin/top about variables shadowing global 2019-02-10 13:34:21 +00:00
utils.h Fix multiple warnings in usr.bin/top about discarded qualifiers from 2019-02-10 13:31:08 +00:00