1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.bin
Don Lewis 090fc1c839 Always return either a dynamically allocated string or NULL from
expand().  Never return the name parameter, which could be a the buf[]
buffer which is allocated on the stack by getdeadletter() and which
would then be used after getdeadletter() has returned.

Reported by:	Coverity
CID:		1199383
MFC after:	1 week
2016-05-13 06:15:05 +00:00
..
addr2line
alias
apply
ar
asa
at
atm
awk
banner
basename
bc
biff
bluetooth
bmake
brandelf
bsdcat
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar
cap_mkdb
catman Instead of ignoring the EEXIST from link(), unconditionally unlink 2016-05-13 05:49:02 +00:00
chat
checknr
chkey
chpass
cksum
clang
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
cpio
cpuset
csplit
ctags
ctlstat
cut
cxxfilt
dc
dirname
dpv
drill
dtc
du
ee
elf2aout
elfcopy
elfdump
enigma
env
expand
factor
false
fetch
file
file2c
find
finger
fmt
fold
fortune
from
fstat
fsync
ftp
gcore
gencat
getconf
getent
getopt
gprof
grdc
grep
gzip
head
hesinfo
hexdump
host
iconv
id
ident
indent
ipcrm
ipcs
iscsictl
join
jot
kdump
keylogin
keylogout
killall
ktrace
ktrdump
lam
last
lastcomm
ldd
leave
less
lessecho
lesskey
lex
limits
locale
localedef
locate
lock
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4
mail Always return either a dynamically allocated string or NULL from 2016-05-13 06:15:05 +00:00
makewhatis
man
mandoc
mesg
minigzip
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mklocale
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal
netstat
newgrp
newkey
nfsstat
nice
nl
nm
nohup
numactl
number
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
pr
primes
printenv
printf
procstat
protect
quota
random
rctl
readelf
renice
resizewin
rev
revoke
rlogin
rpcgen
rpcinfo Simplify some overly complex code so that both humans and Coverity 2016-05-13 00:50:53 +00:00
rs
rsh
rup
ruptime
rusers
rwall
rwho
script
sdiff
sed
send-pr
seq
setchannel
shar
showmount
size
smbutil
sockstat
soelim
sort
split
ssh-copy-id
stat
stdbuf
strings
su
svn
systat
tabs
tail
talk
tar
tcopy
tee
telnet
tests
tftp
time
timeout
tip
top
touch
tput
tr
true
truncate
truss
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write
xargs
xinstall
xlint
xo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64