mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
af2b6af393
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 |
||
---|---|---|
.. | ||
tests | ||
args.c | ||
conv_tab.c | ||
conv.c | ||
dd.1 | ||
dd.c | ||
dd.h | ||
extern.h | ||
gen.c | ||
Makefile | ||
Makefile.depend | ||
misc.c | ||
position.c | ||
ref.ascii | ||
ref.ebcdic | ||
ref.ibm | ||
ref.lcase | ||
ref.obs_zeroes | ||
ref.oldascii | ||
ref.oldebcdic | ||
ref.oldibm | ||
ref.pareven | ||
ref.parnone | ||
ref.parodd | ||
ref.parset | ||
ref.swab | ||
ref.ucase |