HardenedBSD/usr.sbin
Dimitry Andric e17fede8ff Fix too small sscanf output buffers in kbdmap
This fixes the following warnings from clang 14:

usr.sbin/kbdmap/kbdmap.c:241:16: error: 'sscanf' may overflow; destination buffer in argument 5 has size 20, but the corresponding specifier may require size 21 [-Werror,-Wfortify-source]
                            &a, &b, buf);
                                    ^
usr.sbin/kbdmap/kbdmap.c:615:8: error: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Werror,-Wfortify-source]
                            keym, lng, desc);
                            ^
usr.sbin/kbdmap/kbdmap.c:615:14: error: 'sscanf' may overflow; destination buffer in argument 4 has size 64, but the corresponding specifier may require size 65 [-Werror,-Wfortify-source]
                            keym, lng, desc);
                                  ^
usr.sbin/kbdmap/kbdmap.c:615:19: error: 'sscanf' may overflow; destination buffer in argument 5 has size 256, but the corresponding specifier may require size 257 [-Werror,-Wfortify-source]
                            keym, lng, desc);
                                       ^

In each case, the buffer being sscanf'd into is one byte too small.

MFC after:	 3 days
2022-02-06 16:25:25 +01:00
..
ac
accton
acpi Add the Arm SPE interrupt to acpidump 2022-02-01 11:43:13 +00:00
adduser
apm Fix build with -DNO_ROOT 2021-11-26 12:51:08 +01:00
apmd
arp
audit
auditd
auditdistd
auditreduce
authpf
autofs pkgbase: Put autofs config files in the FreeBSD-autofs package 2021-12-21 10:17:25 +01:00
bhyve bhyve/virtio: use correct device id for virtio-scsi 2022-01-31 09:44:47 -09:00
bhyvectl
bhyveload
binmiscctl
blacklistctl
blacklistd
bluetooth bluetooth: remove hcseriald 2021-09-29 21:18:17 -06:00
boot0cfg
bootparamd Fix too small hostname buffer in bootparamd 2022-02-06 15:25:49 +01:00
bsdconfig Fix 'take effect' spelling in menus and comments. 2021-11-18 23:22:12 -07:00
bsdinstall disextract: eliminate last use of __DECONST 2022-01-28 10:09:08 +01:00
bsnmpd Remove DS_BUSY case 2021-11-30 16:35:48 -07:00
btxld
camdd
cdcontrol
certctl pkgbase: Put certctl in the FreeBSD-caroot package 2021-12-21 10:17:44 +01:00
chkgrp
chown
chroot chroot: fix typo in usage 2021-07-21 10:16:11 +01:00
ckdist
clear_locks pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
config config(5): Update upper limit for maxusers on 64-bit systems 2021-10-28 14:15:08 -04:00
cpucontrol cpucontrol(8): Fix a typo in an error message 2022-01-26 10:36:42 +01:00
crashinfo
cron
crunch crunchgen: use realpath(3) instead of ``pwd -P'' 2021-10-27 09:26:00 +00:00
ctladm pkgbase: Move ctld/ctladm to iscsi package 2021-06-19 17:49:57 +02:00
ctld iscsi: Handle large Text responses. 2021-12-29 14:36:04 -08:00
cxgbetool pkgbase: Create a cxgbe-tools package 2021-09-07 10:19:37 +02:00
daemon
dconschat
devctl
devinfo devinfo(8): Remove cross-reference to pnpinfo(8) 2021-11-01 12:29:12 -04:00
diskinfo
dumpcis
editmap
edquota
efibootmgr pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
efidp pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
efitable efitable(8): Add missing -u in the manpage 2022-01-28 03:04:38 +02:00
efivar pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
etcupdate
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update freebsd-update(8): Add -j flag to support jails 2021-10-01 13:51:03 -05:00
fstyp fstyp: Remove __packed from struct exfat_de_label. 2022-01-31 17:33:31 -08:00
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd pkgbase: Create a FreeBSD-kerberos package 2021-09-07 10:23:14 +02:00
gstat ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
hyperv
i2c i2c(8): fix option handling 2021-10-06 21:56:20 -08:00
ifmcstat
inetd inetd: Use the synopsis from the manual page 2021-12-06 22:15:19 +01:00
iostat iostat: fix rounding errors in iostat -x 2021-07-08 10:16:32 -06:00
iovctl
ip6addrctl
ipfwpcap
iscsid iscsi: Handle large Text responses. 2021-12-29 14:36:04 -08:00
jail
jexec
jls
kbdcontrol
kbdmap Fix too small sscanf output buffers in kbdmap 2022-02-06 16:25:25 +01:00
keyserv
kldxref kldxref: add R_PPC64_ADDR64 handler 2021-12-27 15:29:50 -03:00
lastlogin
lpr lpr(1): Fix a typo in a source code comment 2021-11-19 20:04:09 +01:00
lptcontrol
mailstats
mailwrapper
makefs makefs(8): Fix a few typos in source code comments 2022-02-06 13:46:38 +01:00
makemap
manctl
memcontrol
mergemaster mergemaster(8): Fix a typo in an error message 2022-01-26 17:59:49 +01:00
mfiutil
mixer mixer: make .Dt tags uppercase 2021-11-20 08:58:36 +01:00
mld6query
mlx5tool pkgbase: Create a mlx-tools package 2021-09-07 10:20:16 +02:00
mlxcontrol pkgbase: Move back mlxcontrol in the default package 2021-09-09 08:14:53 +02:00
mount_smbfs
mountd mountd: Fix handling of usernames that start with a digit 2021-11-18 13:35:25 -08:00
moused moused(8): Fix a common typo in source code comments 2022-02-06 13:47:25 +01:00
mpsutil Fix formatting of the usage() output 2022-01-06 22:59:18 -07:00
mptable
mptutil
mtest
ndp
newsyslog When parsing a rule to rotate log files on a specific week day, 2021-12-30 20:45:13 +00:00
nfscbd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsd update URL 2022-02-05 17:35:24 +00:00
nfsdumpstate pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsrevoke pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsuserd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
ngctl
nghook
nmtree pkgbase: Create a FreeBSD-mtree package 2021-12-21 10:17:33 +01:00
nologin
nscd
ntp ntp: Revert "Disable stack gap for ntpd during build." 2021-10-15 16:06:14 -07:00
nvram
ofwdump
pciconf
periodic pkgbase: Create a FreeBSD-periodic package 2021-12-21 10:17:38 +01:00
pkg pkgbase: Add a FreeBSD-pkg-bootstrap package 2021-12-21 10:17:48 +01:00
pmc ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
pmcannotate
pmccontrol
pmcstat ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
pmcstudy pmcstudy: Fix a typo in a usage message 2022-01-24 19:41:39 +01:00
pnfsdscopymr pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdsfile pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdskill pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnpinfo
portsnap portsnap: Remove superfluous semicolons 2021-06-29 11:00:54 -07:00
powerd powerd(8): Add rc.conf(5) to see also 2021-11-06 22:43:30 -04:00
ppp
pppctl
praliases
praudit
prometheus_sysctl_exporter Fix typo on "Celsius" 2021-11-18 23:05:32 -07:00
pstat
pw
pwd_mkdb
pwm
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd rpc.lockd: Use libc strnlen() instead of reimplementing it 2021-06-23 10:06:57 -04:00
rpc.statd
rpc.tlsclntd nfs tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-10 14:18:43 -07:00
rpc.tlsservd nfs tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-10 14:18:43 -07:00
rpc.umntall pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
rpc.yppasswdd pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpc.ypupdated pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpc.ypxfrd pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpcbind RPCBIND: skip ipv6 link local when request is not from link local address 2021-10-04 10:45:26 -07:00
rrenumd
rtadvctl
rtadvd
rtprio Add idle priority scheduling privilege group to MAC/priority 2021-12-10 04:54:48 +02:00
rtsold rtsold: Note network interfaces changing index when removed/inserted 2021-12-14 15:27:47 -07:00
rwhod
sa lastcomm/sa: Remove sparc64 tests, they aren't needed. 2021-10-04 10:51:15 -06:00
sendmail
service pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
services_mkdb
sesutil Add tests for ses(4) 2022-01-19 12:43:51 -07:00
setfib
setfmac
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd pkgbase: Create a FreeBSD-syslogd package 2021-12-21 10:17:40 +01:00
sysrc
tcpdchk pkgbase: Create a FreeBSD-tcpd package 2021-12-21 10:17:31 +01:00
tcpdmatch pkgbase: Create a FreeBSD-tcpd package 2021-12-21 10:17:31 +01:00
tcpdrop tcpdrop: tweak comments 2021-12-04 15:08:01 +01:00
tcpdump
tests
traceroute
traceroute6
trim
trpt inet: remove tcp_debug from netinet/tcp_debug.h 2021-11-01 23:10:30 +00:00
tzsetup bsddialog: import version 0.1 2022-01-28 09:56:21 +01:00
uathload
uefisign
ugidfw
uhsoctl
unbound
usbconfig usbconfig.8: Sort flags according to style(9) 2022-01-29 22:10:21 +01:00
usbdump
utx pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
valectl
vidcontrol
vigr
vipw
wake
watch ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
watchdogd
wlandebug
wpa wpa: Fix WITHOUT_WPA_SUPPLICANT_EAPOL build 2021-11-11 19:03:05 -08:00
yp_mkdb pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypbind pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypldap pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
yppoll pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
yppush pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypserv pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypset pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
zic
zonectl
zzz
Makefile Fix bsd.subdir.mk-related issues after 0a0f748641 2021-07-12 20:54:01 +01:00
Makefile.amd64 Fix build with -DNO_ROOT 2021-11-26 12:51:08 +01:00
Makefile.arm
Makefile.arm64
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv