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
apmd
arp
audit
auditd
auditdistd
auditreduce
authpf
autofs
bhyve bhyve/virtio: use correct device id for virtio-scsi 2022-01-31 09:44:47 -09:00
bhyvectl
bhyveload
binmiscctl
blacklistctl
blacklistd
bluetooth
boot0cfg
bootparamd Fix too small hostname buffer in bootparamd 2022-02-06 15:25:49 +01:00
bsdconfig
bsdinstall disextract: eliminate last use of __DECONST 2022-01-28 10:09:08 +01:00
bsnmpd
btxld
camdd
cdcontrol
certctl
chkgrp
chown
chroot
ckdist
clear_locks
config
cpucontrol cpucontrol(8): Fix a typo in an error message 2022-01-26 10:36:42 +01:00
crashinfo
cron
crunch
ctladm
ctld
cxgbetool
daemon
dconschat
devctl
devinfo
diskinfo
dumpcis
editmap
edquota
efibootmgr
efidp
efitable efitable(8): Add missing -u in the manpage 2022-01-28 03:04:38 +02:00
efivar
etcupdate
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update
fstyp fstyp: Remove __packed from struct exfat_de_label. 2022-01-31 17:33:31 -08:00
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd
gstat
hyperv
i2c
ifmcstat
inetd
iostat
iovctl
ip6addrctl
ipfwpcap
iscsid
jail
jexec
jls
kbdcontrol
kbdmap Fix too small sscanf output buffers in kbdmap 2022-02-06 16:25:25 +01:00
keyserv
kldxref
lastlogin
lpr
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
mld6query
mlx5tool
mlxcontrol
mount_smbfs
mountd
moused moused(8): Fix a common typo in source code comments 2022-02-06 13:47:25 +01:00
mpsutil
mptable
mptutil
mtest
ndp
newsyslog
nfscbd
nfsd update URL 2022-02-05 17:35:24 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree
nologin
nscd
ntp
nvram
ofwdump
pciconf
periodic
pkg
pmc
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnfsdscopymr
pnfsdsfile
pnfsdskill
pnpinfo
portsnap
powerd
ppp
pppctl
praliases
praudit
prometheus_sysctl_exporter
pstat
pw
pwd_mkdb
pwm
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd
rpc.tlsclntd
rpc.tlsservd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sendmail
service
services_mkdb
sesutil
setfib
setfmac
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
traceroute
traceroute6
trim
trpt
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
valectl
vidcontrol
vigr
vipw
wake
watch
watchdogd
wlandebug
wpa
yp_mkdb
ypbind
ypldap
yppoll
yppush
ypserv
ypset
zic
zonectl
zzz
Makefile
Makefile.amd64
Makefile.arm
Makefile.arm64
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv