mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 17:49:22 -04:00
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
12 lines
168 B
Makefile
12 lines
168 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
ATF_TESTS_SH= dd2_test
|
|
NETBSD_ATF_TESTS_SH= dd_test
|
|
|
|
.include <netbsd-tests.test.mk>
|
|
|
|
.include <bsd.test.mk>
|