freebsd-dev/usr.sbin
Kyle Evans c04ad15ca7 config: address a number of Coverity issues
Highlights:
- Various memory leaks
- FILE* leaks
- `tsize` in moveifchanged() is only needed if !changed, and `from_sb`
    is only valid if !changed.
- Simplify trivially true expression
- Sanity check elfdump size output (+ fix variable sizes) (des@)

CID:	1471167, 1006391, 1505333, 1505275, 1505349, 1505306, 1505232
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D38643
2023-02-16 14:37:06 -06:00
..
ac
accton
acpi acpica: Quiet a -Wdangling-pointer warning in AcpiUtInitStackPtrTrace. 2022-12-04 16:28:59 -08:00
adduser
apm
apmd
arp
audit
auditd
auditdistd
auditreduce
authpf
autofs
bhyve bhyve: add emulation for qemu's fwcfg data port 2023-02-14 08:28:49 +01:00
bhyvectl
bhyveload bhyveload: open guest boot disk image O_RDWR 2022-12-05 08:22:45 -09:00
binmiscctl imgact_binmisc: Optionally pre-open the interpreter vnode 2022-12-08 14:32:03 +00:00
blacklistctl
blacklistd
bluetooth iwmbtfw(8): Fix a typo in a kernel message 2023-01-11 12:22:18 +01:00
boot0cfg
bootparamd
boottrace
bsdconfig bsdconfig: correct name of the wpa_supplicant config file 2023-01-16 18:56:45 +00:00
bsdinstall bsdconfig, bsdinstall: Refresh mirrors list 2023-01-16 13:48:06 -03:00
bsnmpd bsnmpget.1: Fix a typo in the man page 2023-01-19 14:18:52 +01:00
btxld
camdd
cdcontrol
certctl Strip trailing slashes from DESTDIR 2023-02-04 12:11:02 -07:00
chkgrp
chown
chroot
ckdist
clear_locks
config config: address a number of Coverity issues 2023-02-16 14:37:06 -06:00
cpucontrol
crashinfo
cron
crunch
ctladm Missed chunk of 0acc026dda. 2022-12-03 11:26:22 -05:00
ctld ctld: if adding a target fails, retry it on the next reload 2022-10-21 18:28:45 -06:00
cxgbetool cxgbetool(8): Fix common typos in sysctl descriptions 2023-01-19 14:22:00 +01:00
daemon daemon: add long_opts 2023-02-09 22:36:07 -06:00
dconschat dconschat(8): Fix a typo in an error message 2022-10-25 12:58:55 +02:00
devctl
devinfo pkgbase: Put devmatch in its own package 2022-10-26 19:46:38 +02:00
diskinfo
dumpcis
editmap
edquota
efibootmgr efibootmgr: Add --efidev (-u) to discover UEFI's device path to a dev or file 2023-02-16 08:54:39 -07:00
efidp efidp: Remove write only variable 2023-02-15 16:03:54 -07:00
efitable
efivar
etcupdate etcupdate: Chase test case after pwd_mkdb(8) no longer copies comments. 2023-01-29 20:40:58 -08:00
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update uname.1: Clarify the -r option 2022-09-16 13:27:54 +02:00
fstyp
ftp-proxy pkgbase: Put ftp-proxy in the FreeBSD-pf package 2023-02-08 08:49:43 +01:00
fwcontrol fwcontrol: Disable -Wzero-length-bounds warnings. 2022-12-04 16:30:20 -08:00
getfmac
getpmac
gpioctl
gssd Revert "gssd: Fix handling of the gssname=<name> NFS mount option" 2023-01-11 18:23:17 -08:00
gstat
hyperv
i2c
ifmcstat
inetd pkgbase: Create a FreeBSD-inetd package 2023-02-08 08:48:43 +01:00
iostat
iovctl
ip6addrctl
ipfwpcap
iscsid
jail jail: Correct jail_max_af_ips sysctl name 2023-02-04 11:46:46 -07:00
jexec
jls
kbdcontrol kbdcontrol: enable pre-Unicode dead key table compatibility 2023-02-14 13:49:06 +01:00
kbdmap pkgbase: Create a FreeBSD-console-tools package 2023-02-08 08:52:40 +01:00
keyserv
kldxref kldxref: handle R_RISCV_64 relocation 2022-10-20 12:01:29 -03:00
lastlogin
lpr
lptcontrol
mailstats
mailwrapper pkgbase: Put sendmail example in the sendmail package 2023-02-08 08:50:31 +01:00
makefs makefs: don't needlessly require directories to exist 2023-01-12 19:16:14 +00:00
makemap
manctl
memcontrol
mergemaster
mfiutil
mixer mixer: Fix default_unit switching with mixers that have no devices 2023-01-16 08:02:54 -05:00
mld6query
mlx5tool
mlxcontrol
mount_smbfs pkgbase: Create a FreeBSD-smbutils package 2023-02-08 08:48:28 +01:00
mountd mountd(8): Fix a typo in a source code comment 2023-01-19 14:23:51 +01:00
moused pkgbase: Create a FreeBSD-console-tools package 2023-02-08 08:52:40 +01:00
mpsutil
mptable
mptutil
mtest
ndp
newsyslog newsyslog.conf: Minor formatting fix 2022-12-28 16:26:51 -08:00
nfscbd
nfsd pnfs.4: Fix a typo 2022-11-08 14:57:06 +01:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree
nologin
nscd
ntp ntp: retire now-unused MIPS cases 2022-10-19 15:36:23 -04:00
nvram
ofwdump
pciconf pciconf(8): Decode ACS extended capability. 2022-11-07 13:20:22 -08:00
periodic daily 440.status-mailq: avoid error from dma with submit queue 2022-12-16 09:13:31 -06:00
pkg
pmc pmc: remove write-only variable 2022-10-19 20:59:23 +00:00
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnfsdscopymr
pnfsdsfile
pnfsdskill
pnpinfo
portsnap
powerd
ppp ppp: improve MSS clamping 2022-12-08 09:48:29 +01:00
pppctl
praliases
praudit
prometheus_sysctl_exporter
pstat
pw pw: Don't return a pointer to an on-stack buffer from grp_set_passwd. 2022-12-04 16:28:22 -08:00
pwd_mkdb pwd_mkdb(8): Don't copy comments from /etc/master.passwd to /etc/passwd. 2023-01-04 22:18:09 -08:00
pwm
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd nfs: Fix a common typo in source code comments 2023-01-19 14:26:06 +01:00
rpc.statd nfs: Fix a common typo in source code comments 2023-01-19 14:26:06 +01:00
rpc.tlsclntd rpc.tlsclntd: Check for a tls syscall failure. 2022-12-21 15:12:06 -08:00
rpc.tlsservd rpc.tlsservd: Check for a tls syscall failure. 2022-12-22 09:10:27 -08:00
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sendmail
service
services_mkdb
sesutil sesutil: don't malloc in a tight loop 2023-02-13 09:04:05 -07:00
setfib
setfmac
setpmac
smbmsg
snapinfo pkgbase: Put ufs related tools and lib in their own package 2022-10-26 19:46:34 +02:00
spi
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tcpsso tcp_sso: add support for TCP_MAXUNACKTIME 2022-09-29 02:02:11 +02:00
tests
traceroute
traceroute6 traceroute6: fix capabilities for the rcv socket 2022-10-04 23:40:29 +02:00
trim
tzsetup
uathload
uefisign
ugidfw
uhsoctl
unbound local-unbound-setup: Use default root certificates 2023-02-07 11:13:33 +01:00
usbconfig
usbdump
utx
valectl pkgbase: Create a FreeBSD-netmap package 2023-02-08 08:49:28 +01:00
vidcontrol pkgbase: Create a FreeBSD-console-tools package 2023-02-08 08:52:40 +01:00
vigr
vipw vipw.8: Add a FILES section 2022-11-12 12:56:29 +01:00
wake
watch
watchdogd
wlandebug
wpa
yp_mkdb
ypbind
ypldap ypldap: Fix mismatch in array bounds for ldapclient(). 2022-10-03 16:10:41 -07:00
yppoll
yppush
ypserv
ypset
zdump tzcode: Move configuration into separate header. 2023-01-11 11:39:12 +01:00
zic tzcode: Move configuration into separate header. 2023-01-11 11:39:12 +01:00
zonectl
zzz
Makefile hyperv: Build and install where supported 2023-02-01 10:21:57 -07:00
Makefile.aarch64
Makefile.amd64 Makefile.amd64: remove construct that serves no purpose 2023-02-08 12:19:39 -07:00
Makefile.arm
Makefile.i386 hyperv: Build and install where supported 2023-02-01 10:21:57 -07:00
Makefile.inc
Makefile.powerpc
Makefile.riscv