freebsd-nq/bin
Alan Somers af2b6af393 Fix integer overflow detection in dd
dd(1) tried to detect whether the seek offset would overflow, but it failed
to account for the case where the provided argument was negative and the
file was a regular file (negative seeks are allowed for character devices).
I fixed it, and added a regression test.

Reported by:	Coverity
CID:		1368659
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
2017-05-31 16:07:32 +00:00
..
cat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chflags Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chio Document where chio(1) originated from & which version of FreeBSD first included it. 2016-10-05 18:26:39 +00:00
chmod Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cp Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
csh Update to tcsh 6.20.00 2017-03-25 13:32:28 +00:00
date Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
dd Fix integer overflow detection in dd 2017-05-31 16:07:32 +00:00
df bin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:31:08 +00:00
domainname Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
echo Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ed Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
expr Document origins of expr & authors 2016-10-05 19:26:35 +00:00
freebsd-version bin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:31:08 +00:00
getfacl Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
hostname Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kenv style(9). 2016-11-28 07:21:09 +00:00
kill Don't kill pid -1 on overflow from strtol(3). 2017-03-05 21:56:04 +00:00
ln Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ls Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mkdir Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mv Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pax Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pkill Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
ps ps(1): Fix -w + UNLIMITED handling 2017-03-07 04:51:35 +00:00
pwait Rename some tests to end in _test. 2017-03-09 04:20:00 +00:00
pwd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rcp Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
realpath Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rmail bin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:31:08 +00:00
rmdir Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setfacl Explicitly NUL terminate the buffer filled by fread(). 2016-06-08 05:32:39 +00:00
sh sh: Keep output buffer across builtins. 2017-05-18 22:10:04 +00:00
sleep Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
stty .Xr resizewin from stty(1) man page. 2017-05-07 11:44:25 +00:00
sync Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
test Renumber copyright clause 4 2017-02-28 23:42:47 +00: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 uuid_to_string(3) is allocating memory and can fail on that. 2016-08-03 18:04:08 +00:00
Makefile Start using the fact that SUBDIR.yes is added to SUBDIR 2015-10-05 21:41:55 +00:00
Makefile.inc