freebsd-dev/bin
Stefan Eßer 50fcb4ee77 Replace sscanf() by strtoul()
This change has been motivated by a mail from bde sent in 2015 in
which he mentioned inappropriate use of sscanf() in 3 programs in
/bin.

This change removes the potential mismatch of the types of the return
values and the variable width specified in the scan pattern. While
there was no issue with the patterns and types used, the new code is
simpler and more efficient.
2020-12-27 22:32:22 +01:00
..
cat Allow building bin/cat on non-FreeBSD systems 2020-01-16 14:15:00 +00:00
chflags fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chio chio: avoid out of bounds read 2020-07-26 15:10:33 +00:00
chmod fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
cp fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
csh vfs: add restrictions to read(2) of a directory [1/2] 2020-06-04 18:09:55 +00:00
date date.1: note possibly surprising behaviour of -j -f 2020-08-26 00:31:59 +00:00
dd Add O_DIRECT flag to DD for cache bypass 2020-06-04 20:47:11 +00:00
df df: Remove support for mounting devices 2020-11-13 16:47:42 +00:00
domainname General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
echo Whitespace cleanup 2020-10-29 14:44:09 +00:00
ed Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
expr expr(1): Fix overflow detection when operand is INTMAX_MIN 2018-04-14 04:35:10 +00:00
freebsd-version Convert freebsd-version to using -v 2019-05-23 17:19:00 +00:00
getfacl bin/setfacl: Little refactoring, no functional change. 2020-11-23 17:00:06 +00:00
hostname hostname(1): Add EXAMPLES to man page 2020-10-05 13:46:19 +00:00
kenv kenv(1): Add EXAMPLES to man page 2020-10-05 13:49:45 +00:00
kill General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ln General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ls Simplify LS_COLWIDTHS processing 2020-12-27 22:32:22 +01:00
mkdir General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mv General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pax Add a note that the use of -B option does not guarantee a size of fragment 2018-12-29 23:08:59 +00:00
pkill pkill(1): Add EXAMPLES section to man page 2020-10-05 13:52:31 +00:00
ps ps(1): Fix formatting of the "command" field for kernel threads. 2020-07-28 15:26:19 +00:00
pwait pwait(1): Add EXAMPLES section to man page 2020-10-05 13:35:34 +00:00
pwd pwd(1): Add EXAMPLES section 2020-10-24 16:42:35 +00:00
realpath realpath(1): Add EXAMPLES section. 2020-10-20 13:15:26 +00:00
rm fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
rmail DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rmdir General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
setfacl Remove unused headers. 2020-12-12 02:26:43 +00:00
sh sh: Explain duplicate tcsetpgrp() calls 2020-12-26 15:27:33 +01:00
sleep Remove unused includes. 2020-12-22 21:04:36 -08:00
stty Replace sscanf() by strtoul() 2020-12-27 22:32:22 +01:00
sync DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
test Remove unused includes. 2020-12-22 21:04:36 -08:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
uuidgen pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
Makefile Remove rcmds. 2017-10-06 08:43:14 +00:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00