freebsd-dev/usr.bin
Michael Reifenberger dcc2fb3707 systat: Avoid incorrect reallocation in pigs.c
Stop free() even if kvm_getprocs as we can come back but set nprocs = 0.
Check nprocs in showpigs() to ensure not try displaying with kvm_getprocs failed.
Current code can have pt with non-null after kvm_getprocs() failure.

Replace to realloc for simpler operations.

Submitted by:	Yoshihiro Ota ota@j.email.ne.jp
Reviewed by:	mckusick@
Differential Revision:	https://reviews.freebsd.org/D29303
2021-04-21 20:09:21 +02:00
..
addr2line
alias
apply
ar Fix some common typos in comments 2021-03-13 18:26:15 +01:00
asa
at
atm
awk
backlight Improve the wording for showing the brightness level 2021-03-12 09:45:14 -07:00
banner
basename
bc
biff
bluetooth
bmake Fix 'make bmake' top-level bootstrapping. 2021-03-06 09:45:08 -08:00
brandelf
bsdcat bsdcat,cpio,tar: derive version string from archive.h 2020-12-29 14:21:50 -08:00
bsdiff bsdiff: fix off-by-one error 2020-11-16 18:41:49 +00:00
bzip2
bzip2recover
c89
c99
caesar
calendar Source repo changes to add new committer Rajesh Kumar M A 2021-02-16 08:52:09 +00:00
cap_mkdb
chat
chkey
chpass Partially revert r367756 (chpass(1) synopsis changes) 2020-11-17 16:54:12 +00:00
cksum
clang Add WITH_LLVM_CXXFILT option to install llvm-cxxfilt as c++filt 2020-11-03 19:57:28 +00:00
cmp cmp: fix -s (silent) when used with skip offsets 2021-01-10 19:02:56 -05:00
col
colrm
column
comm
compile_et
compress compress(1): warn about link handling 2021-03-04 14:52:12 +01:00
cpio bsdcat,cpio,tar: derive version string from archive.h 2020-12-29 14:21:50 -08:00
cpuset
csplit
ctags
ctlstat
cut
cxxfilt
dc
diff diff: Use unprivileged_user with report_identical test 2021-02-03 17:18:59 +01:00
diff3
dirname
dpv
drill Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
dtc
du du_test: Skip three tests if sparse files are not supported 2021-02-03 17:06:07 +00:00
ee
elfctl elfctl: Fix type errors. 2021-01-23 17:24:32 +02:00
elfdump
enigma
env env: style(9) fix, add a space 2021-03-03 14:21:56 -06:00
etdump
expand
factor
false
fetch
file
file2c
find ls(1): Refine the HISTORY within the manual page. 2021-03-13 19:28:26 +01:00
finger
fmt Fix some common typos in comments 2021-03-13 18:26:15 +01:00
fold
fortune fortune/freebsd-tips: Fix markup and wording 2021-03-31 13:10:30 +02:00
from
fstat fstat(1): Add EXAMPLES section 2020-11-19 19:05:16 +00:00
fsync
ftp
gcore
gencat
getaddrinfo
getconf
getent
getopt
gh-bc [bc] Update to version 4.0.0 2021-04-06 11:57:07 +02:00
gprof gprof: Retire a.out support 2020-12-26 11:47:47 -05:00
grdc
grep Fix zgrep --version 2021-04-18 10:20:11 +02:00
gzip fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
head
hesinfo
hexdump
host
iconv iconv(1): Add EXAMPLE 2020-11-29 18:22:14 +00:00
id id(1): Add EXAMPLES section 2020-12-10 18:34:15 +00:00
ident ident(1): Normalizing date format 2020-12-19 12:54:00 +00:00
indent
ipcrm
ipcs
iscsictl iscsi.conf(5): Fix a mandoc warning 2020-11-20 16:41:32 +00:00
join
jot
kdump Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
keylogin
keylogout
killall
ktrace
ktrdump Fix warning about signed comparison and drop WARNS for ktrdump(8). 2021-03-24 10:51:25 +03:00
kyua pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
lam
last last(1): Add EXAMPLES section 2021-01-09 18:37:25 +01:00
lastcomm
ldd Fix ldd to work with more ELF files. 2021-01-29 10:53:50 -08:00
ldd32
leave
less less: upgrade to v581. 2021-04-18 19:46:19 -07:00
lessecho
lesskey
lex usr.bin/lex: regenerate bootstrap files after d37f81e35b 2021-04-21 10:56:29 +01:00
limits
locale
localedef localedef: Fix bootstrapping on Ubuntu 16.04 2021-02-10 16:41:35 +00:00
locate Fix a grammar error on locate(1). 2020-12-11 08:04:54 +00:00
lock lock(1): Add EXAMPLES section 2020-12-11 19:27:21 +00:00
lockf
logger
login login(1): when exporting variables check the result of setenv(3) 2020-12-19 03:07:38 +00:00
logins
logname
look look(1): Add EXAMPLES section 2020-12-29 21:48:12 +01:00
lorder
lsvfs lsvfs(1): Add EXAMPLES section 2020-12-29 21:35:24 +01:00
lzmainfo
m4 m4(1): Add a SEE ALSO section and reference an AT&T manual 2021-04-08 21:16:54 +02:00
mail
man man(1): Bump .Dd 2021-01-09 18:22:08 +01:00
mandoc
mesg
minigzip
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg mkimg: Add support for offset if the source is an image 2021-02-25 18:11:50 +01:00
mkstr
mktemp
mkuzip
morse
msgs
mt Add the LTO-9 density code to libmt and the mt(1) man page. 2020-12-10 21:06:06 +00:00
nc
ncal
ncurses ncurses: Add support for terminfo database 2021-02-25 14:25:11 +01:00
netstat tcp: add support for TCP over UDP 2021-04-18 16:16:42 +02:00
newgrp
newkey
nfsstat
nice
nl
nm
nohup
number
objcopy
ofed ofed: fix the WITH_OFED_EXTRA build 2021-01-29 23:52:13 -06:00
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch patch(1): Fix a few mandoc related issues 2020-12-19 13:00:17 +00:00
pathchk
perror
pom
posixshmcontrol
pr
primes
printenv
printf
proccontrol
procstat procstat: distinguish vm map guards in procstat vm output. 2021-02-14 03:24:58 +02:00
protect
quota
random
rctl
readelf readelf: Add -z decompression support 2020-10-31 15:27:45 +00:00
renice
resizewin
rev
revoke
rpcgen
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script Add some examples to script.1 2021-01-05 16:32:27 +01:00
sdiff
sdiotool
sed sed(1): Add a reference for a 4.4BSD manual document 2021-04-08 21:07:31 +02:00
seq
shar
showmount
size
smbutil
sockstat tcp: add support for TCP over UDP 2021-04-18 16:16:42 +02:00
soelim
sort
split
ssh-copy-id
stat
stdbuf
strings
su
svn Update Subversion to 1.14.1 LTS. See contrib/subversion/CHANGES for a 2021-02-13 14:38:51 +01:00
systat systat: Avoid incorrect reallocation in pigs.c 2021-04-21 20:09:21 +02:00
tabs
tail tail: fix "tail -F" file rotation detection 2021-02-01 16:21:14 -08:00
talk
tar bsdcat,cpio,tar: derive version string from archive.h 2020-12-29 14:21:50 -08:00
tcopy
tee
telnet
tests
tftp
time
timeout
tip
top
touch
tr
true
truncate
truss truss: improved support for decoding compat32 arguments 2021-03-25 11:14:13 +00:00
tsort
tty
ul
uname uname(1): Fix a typo in the man page date 2020-12-19 12:55:27 +00:00
unexpand
unifdef
uniq
units
unvis
unzip unzip: Sync with NetBSD upstream. 2021-01-02 10:50:08 +09:00
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat Use if ... else when printing memory attributes 2021-04-11 10:58:46 +00:00
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write
xargs xargs: compile yesexpr as ERE 2020-12-12 15:38:32 +00:00
xinstall
xo
xohtml
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd
Makefile ncurses: Add support for terminfo database 2021-02-25 14:25:11 +01:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc