I did some further fixes to my patch. I also added a second patch to add a -F option that negates the implicit -f from -a. This is needed for me because the salvaging of files allocates another big chunk of memory.
https://github.com/dosfstools/dosfstools/pull/2 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org