freebsd-dev/bin/dd/tests
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
..
dd2_test.sh Fix integer overflow detection in dd 2017-05-31 16:07:32 +00:00
Makefile Fix integer overflow detection in dd 2017-05-31 16:07:32 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00