1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +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 elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
alias
apply Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ar DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
asa
at Fix typo: actually test the return of strchr(3) 2016-04-20 20:54:47 +00:00
atm
awk DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
banner
basename Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
bc DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
biff
bluetooth Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
bmake Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
brandelf
bsdcat MFV r299425: 2016-05-12 10:16:16 +00:00
bsdiff Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
bzip2
bzip2recover
c89
c99
caesar Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
calendar Add myself (woodsb02) to the calendar.freebsd file 2016-05-09 20:21:49 +00:00
cap_mkdb Remove O_SYNC from the options passed to dbmopen(). 2016-02-19 08:42:13 +00:00
catman Instead of ignoring the EEXIST from link(), unconditionally unlink 2016-05-13 05:49:02 +00:00
chat chat(8): use NULL instead of zero for initializing a pointer. 2016-05-12 02:02:16 +00:00
checknr
chkey
chpass Restore the 'beforeinstall' for chpass(1), so files with the 2016-01-28 02:56:30 +00:00
cksum
clang MFH 2016-03-10 21:16:01 +00:00
cmp Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
col Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
colcrt
colldef Note that mklocale(1) and colldef(1) are no longer used 2016-04-17 23:02:49 +00:00
colrm
column Fix type mismatches for malloc(3) and Co. 2015-12-29 11:24:41 +00:00
comm Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
compile_et DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
compress
cpio MFV r299425: 2016-05-12 10:16:16 +00:00
cpuset
csplit Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:11:23 +00:00
ctags Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:11:23 +00:00
ctlstat
cut Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
cxxfilt elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
dc
dirname Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
dpv Bump copyright 2016-01-27 00:03:43 +00:00
drill META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
dtc Improvements to BSD-licensed DTC. 2015-12-29 16:29:42 +00:00
du
ee Create ee(1) package. 2016-02-02 21:04:33 +00:00
elf2aout
elfcopy elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
elfdump elfdump: handle STT_SPARC_REGISTER 2016-01-25 04:22:01 +00:00
enigma
env
expand
factor Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
false
fetch Add phttpget(8) .Xr to fetch(1). 2016-03-29 11:56:00 +00:00
file
file2c Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
find Use NULL instead of 0 for pointers. 2016-04-18 07:05:18 +00:00
finger Use NULL instead of 0 for pointers. 2016-04-18 14:44:01 +00:00
fmt fmt(1): for pointers use NULL instead of 0 2016-04-13 01:57:06 +00:00
fold
fortune
from
fstat
fsync
ftp
gcore Fix buffer overrun in gcore(1) NT_PRPSINFO 2016-05-11 15:31:31 +00:00
gencat Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:12:31 +00:00
getconf DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
getent
getopt
gprof
grdc Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
grep Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
gzip Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
head
hesinfo
hexdump Fix a bug that caused nothing to be skipped when skipping exactly the 2016-02-14 14:23:56 +00:00
host
iconv META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
id
ident Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
indent
ipcrm Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
ipcs Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
iscsictl Add the "-r" flag to iscsictl(8). 2016-05-06 13:45:42 +00:00
join Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
jot Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
kdump Print the fchmodat mode in human readable fashion 2016-05-03 21:27:17 +00:00
keylogin
keylogout
killall
ktrace Add a cross reference to ktrace(2). 2016-03-31 23:57:03 +00:00
ktrdump Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
lam
last
lastcomm Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ldd We don't support a.out executables on RISC-V. 2016-01-24 15:15:57 +00:00
leave
less - Add support for zip to lesspipe.sh 2016-01-15 23:13:01 +00:00
lessecho
lesskey
lex Use NULL instead of 0 for pointers. 2016-04-19 02:05:32 +00:00
limits Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
locale Use the nitems() macro 2016-04-17 22:42:48 +00:00
localedef localedef(1): minor spelling fixes on comments. 2016-05-01 16:10:56 +00:00
locate Fix type mismatches for malloc(3) and Co. 2015-12-29 11:24:41 +00:00
lock
lockf
logger
login Use NULL instead of 0. 2016-04-18 05:26:32 +00:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4 Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
mail Always return either a dynamically allocated string or NULL from 2016-05-13 06:15:05 +00:00
makewhatis Fix installation of makewhatis.local(1) since r283777. 2016-02-18 00:26:21 +00:00
man
mandoc Update mandoc to 20160116 2016-01-15 23:28:12 +00:00
mesg
minigzip
ministat
mkcsmapper DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkcsmapper_static META_MODE: Don't rebuild build-tools targets during normal build. 2016-04-14 21:06:10 +00:00
mkdep
mkesdb DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkesdb_static META_MODE: Don't rebuild build-tools targets during normal build. 2016-04-14 21:06:10 +00:00
mkfifo
mkimg Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
mklocale Use strlcpy() instead of strncpy() when copying the encoding value 2016-05-12 08:41:22 +00:00
mkstr
mktemp
mkuzip DIRDEPS_BUILD: Update dependencies. 2016-05-04 03:14:34 +00:00
morse
msgs Use strlcpy() instead of strncpy() when copying date and subj 2016-05-12 08:55:57 +00:00
mt
nc
ncal Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
netstat Use macro MAX() from sys/param.h. 2016-04-22 03:37:27 +00:00
newgrp Remove useless calls to basename(). 2016-05-01 08:22:11 +00:00
newkey
nfsstat DIRDEPS_BUILD: Update dependencies. 2016-01-07 19:58:23 +00:00
nice
nl
nm elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
nohup
numactl numactl: fix CPU affinity when modifying an existing process or thread 2016-01-14 01:34:41 +00:00
number
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd Restore the 'beforeinstall' for chpass(1), so files with the 2016-01-28 02:56:30 +00:00
paste
patch Adjust a type from r267490. 2016-04-24 04:28:04 +00:00
pathchk
perror
pom Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
pr
primes Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
printenv
printf Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
procstat Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
protect META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
quota Use MIN() macro from sys/param.h. 2016-04-27 02:13:57 +00:00
random random(6): Fix double-close 2016-05-11 22:04:28 +00:00
rctl Add four new RCTL resources - readbps, readiops, writebps and writeiops, 2016-04-07 04:23:25 +00:00
readelf elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
renice
resizewin Fix a mandoc -Tlint warning 2016-04-16 12:49:26 +00:00
rev
revoke
rlogin Create a rcmds package. 2016-01-21 17:33:31 +00:00
rpcgen rpcgen(1): Tag crash() routine as __dead2 for static analyzers 2016-05-12 03:49:05 +00:00
rpcinfo Simplify some overly complex code so that both humans and Coverity 2016-05-13 00:50:53 +00:00
rs Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:17:36 +00:00
rsh Create a rcmds package. 2016-01-21 17:33:31 +00:00
rup
ruptime Create a rcmds package. 2016-01-21 17:33:31 +00:00
rusers
rwall
rwho Create a rcmds package. 2016-01-21 17:33:31 +00:00
script Directly set the O_CLOEXEC flags via the open(2) attributes 2016-04-16 12:47:23 +00:00
sdiff sdiff(1): Fix potential NULL deref in cleanup path 2016-05-10 20:09:40 +00:00
sed sed.1: Correction for the case insensitive case. 2016-05-10 17:01:51 +00:00
send-pr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
seq
setchannel
shar
showmount Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
size elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
smbutil META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
sockstat
soelim Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
sort Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
split
ssh-copy-id
stat Use MIN() instead of MAX() as the previous syntax was wrote in a weird and 2016-04-26 00:29:00 +00:00
stdbuf
strings elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
su
svn Update from subversion 1.9.2 to 1.9.4. 2016-04-30 10:35:42 +00:00
systat Use macro MIN() from sys/param.h. 2016-04-27 02:26:31 +00:00
tabs
tail
talk User NULL instead of 0 for pointers. 2016-04-18 07:14:01 +00:00
tar MFV r299425: 2016-05-12 10:16:16 +00:00
tcopy
tee
telnet
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tftp Use MIN() macro from sys/param.h. 2016-04-27 02:34:25 +00:00
time
timeout Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tip
top Use MIN() macro from sys/param.h. 2016-04-27 02:44:10 +00:00
touch
tput
tr Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
true
truncate Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
truss Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
tset
tsort
tty
ul Rationalize license numbering 2016-05-09 20:55:35 +00:00
uname
unexpand
unifdef Avoid -Wmissing-initializer 2015-12-03 14:32:54 +00:00
uniq
units Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
unvis
unzip - Match directory extraction message with Infozip [1] 2016-01-15 23:04:36 +00:00
usbhidaction
usbhidctl
users
uudecode Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:12:31 +00:00
uuencode Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
vacation DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
vgrind Remove disconnected directory RETEST. 2015-12-04 05:00:51 +00:00
vi DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
vis
vmstat Use MIN() macro from sys/param.h. 2016-04-22 03:46:57 +00:00
vtfontcvt vtfontcvt: support .hex fonts with characters beyond the Unicode BMP 2016-03-15 21:32:46 +00:00
w Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
wall
wc Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
what
whereis usr.bin: minor spelling fixes on comments. 2016-05-01 16:13:05 +00:00
which
who
whois whois(1): Fix potential double-close and logic mistakes 2016-05-11 18:03:51 +00:00
write
xargs Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
xinstall install: Add some tests. 2016-05-08 21:11:24 +00:00
xlint usr.bin: minor spelling fixes on comments. 2016-05-01 16:13:05 +00:00
xo Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
xstr Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
xz
xzdec
yacc Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile MFV r299425: 2016-05-12 10:16:16 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64