freebsd-skq/usr.bin
daichi 8a828b24a5 top(1): fix a buffer overflow copying states to display while they were incremented
- fix an AddressSanitizer error

Submitted by:	devnexen@gmail.com
Reviewed by:	eadler
Approved by:	gnn (mentor)
Differential Revision:	https://reviews.freebsd.org/D16183
2018-07-27 07:05:50 +00:00
..
addr2line
alias
apply
ar usr.bin/ar: use standard 2-Clause FreeBSD license 2018-06-20 18:43:17 +00:00
asa
at at.man: Bump .Dd missed in r334502 2018-06-01 22:57:19 +00:00
atm
awk
banner
basename Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
bc
biff
bluetooth
bmake
brandelf
bsdcat
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar Add jhixson to committers-ports.dot and calendar.freebsd 2018-07-24 18:33:26 +00:00
cap_mkdb
chat
chkey
chpass
cksum
clang Rework how the ld link is handled in WORLDTMP from r322811. 2018-06-20 16:10:02 +00:00
cmp Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
col Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
colldef
colrm
column
comm
compile_et
compress
cpio
cpuset Missed a bit of doc change from r335921. 2018-07-06 16:23:30 +00:00
csplit
ctags
ctlstat
cut cut: Fix out of boundary write on illegal list argument 2018-05-23 09:16:20 +00:00
cxxfilt
dc dc: make use of caph_enter 2018-06-18 04:54:09 +00:00
diff Improve --strip-trailing-cr handling: 2018-07-27 05:21:20 +00:00
diff3 Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
dirname Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
dpv
drill
dtc
du
ee
elf2aout
elfdump Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
enigma
env
etdump
expand
factor
false
fetch
file
file2c
find find(1): remove empty else condition 2018-07-25 03:42:07 +00:00
finger
fmt
fold
fortune
from
fstat
fsync
ftp
gcore Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
gencat
getaddrinfo
getconf Whoops, forgot to add this file in r334070. 2018-05-23 02:54:28 +00:00
getent
getopt Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
gprof
grdc
grep bsdgrep(1): Remove redundant initialization; unconditionally assigned later 2018-06-15 03:31:30 +00:00
gzip Use endian.h le32dec() instead of rolling our own. 2018-07-10 01:42:28 +00:00
head
hesinfo
hexdump Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
host
iconv Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
id
ident Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
indent indent(1): rewrite the integer/floating constant scanning part of lexi.c 2018-07-16 05:46:50 +00:00
ipcrm
ipcs
iscsictl
join
jot Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
kdump Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
keylogin
keylogout
killall
ktrace
ktrdump Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
lam Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
last Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
lastcomm
ldd ldd: reference readelf instead of objdump in warning message 2018-06-15 16:28:50 +00:00
leave
less
lessecho
lesskey
lex
limits
locale
localedef localedef(1): remove duplicated includes. 2018-07-09 20:38:47 +00:00
locate Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
lock
lockf
logger logger: fix memory leak and use-after-free 2018-05-28 02:40:06 +00:00
login
logins
logname Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
look
lorder
lsvfs
lzmainfo
m4
mail
man
mandoc
mesg
minigzip
ministat Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mklocale
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal ncal: correct history section 2018-06-09 04:40:17 +00:00
netstat Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00
newgrp
newkey
nfsstat
nice
nl
nm
nohup
number
objcopy Rename usr.bin/elfcopy to usr.bin/objcopy 2018-06-21 14:28:20 +00:00
ofed Move mostly useless examples binaries from OFED, as well as the Subnet 2018-07-20 23:52:11 +00:00
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
pr
primes Use capsicum helpers to cache NLS data. 2018-06-20 00:13:09 +00:00
printenv Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
printf
proccontrol
procstat
protect
quota This exposes ZFS user and group quotas via the normal 2018-07-05 22:56:13 +00:00
random
rctl rctl: correct use of "vmem" instead of "vmemoryuse" 2018-05-25 13:40:07 +00:00
readelf
renice
resizewin
rev
revoke
rpcgen
rpcinfo
rs
rup rup: Fix -Wcast-align warnings 2018-07-03 19:09:46 +00:00
ruptime
rusers rusers: modernize a bit 2018-06-25 11:44:56 +00:00
rwall
rwho Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
script
sdiff
sdiotool
sed sed(1): Suppress implicit-fallthrough. 2018-07-09 20:27:31 +00:00
send-pr
seq
setchannel
shar
showmount
size
smbutil
sockstat Make struct xinpcb and friends word-size independent. 2018-07-05 13:13:48 +00:00
soelim
sort sort(1): Fix -m when only implicit stdin is used for input 2018-06-20 03:31:19 +00:00
split
ssh-copy-id my copyright: some minor adjustments 2018-05-19 20:35:15 +00:00
stat
stdbuf
strings
su su(1): build with WARNS=6 2018-06-22 09:10:50 +00:00
svn
systat Don't leak tmpstr. 2018-06-21 07:42:28 +00:00
tabs
tail
talk
tar
tcopy
tee Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
telnet
tests
tftp Fix several Coverity warnings in tftp 2018-07-22 17:10:12 +00:00
time
timeout
tip
top top(1): fix a buffer overflow copying states to display while they were incremented 2018-07-27 07:05:50 +00:00
touch touch.1: Update to conform to POSIX 2004 2018-06-01 22:34:59 +00:00
tput
tr Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
true
truncate truncate: Add support for -s % and / 2018-07-09 19:03:30 +00:00
truss
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq Use capsicum helpers to cache NLS data. 2018-06-20 00:13:09 +00:00
units Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
unvis
unzip
usbhidaction
usbhidctl
users users(1): Use capsicum helpers for users 2018-06-25 11:44:41 +00:00
uudecode
uuencode
vacation
vgrind Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is 2018-06-28 13:48:59 +00:00
vi Don't use CCACHE for linking. 2018-06-27 19:29:15 +00:00
vis
vmstat vmstat(1): various nits 2018-06-13 08:52:04 +00:00
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
xargs
xinstall
xo
xohtml Import libxo-0.9.0: 2018-05-23 01:20:31 +00:00
xolint
xopo
xstr
xz
xzdec
yacc
yes Convert cap_enter() < 0 && errno != ENOSYS to caph_enter() < 0. 2018-06-19 23:43:14 +00:00
ypcat
ypmatch
ypwhich
zstd
Makefile Remove bits of the old NUMA. 2018-07-10 22:00:20 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64