mirror of
https://github.com/opnsense/src.git
synced 2026-04-11 12:26:56 -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 |
||
|---|---|---|
| .. | ||
| dd2_test.sh | ||
| Makefile | ||
| Makefile.depend | ||