1. Data becomes misaligned when a faulty sector is encountered on a source drive. [NIST report](https://www.dhs.gov/sites/default/files/publications/DCFLDD%201%203%204-1%20Test%20Report_updated.pdf), [upstream patch](http://lists.gnu.org/archive/html/bug-coreutils/2003-10/msg00071.html).
2. An infinite loop when a faulty sector is encountered on a source drive (data is written to an output file until there is no space left). I observed this bug in dcfldd long ago (2014), I can't identify the buggy piece of code (it's hard to reproduce). Possibly related to the previous bug.
Thank you for the feedback. I remember the old dd bug. I'll review the code and check what's diverged from the original dd code. For the DA-09 test, I need to find a disk or a way to inject faulty sector in a raw image.
The second issue (or something similar to the second issue) can be reproduced with this line:
`table=$(echo -e "0 10232 linear $loop1 0\n10232 1 error\n")`
(A faulty sector is the last one.)