Problem was introduced with this commit:
commit f3873b3d88b61167b106e7b9227a20147f8f6197
Author: Wayne Davison way...@samba.org
Date: Mon Oct 10 11:49:50 2016 -0700
Support --sparse combined with --preallocate or --inplace.
The new code tries to punch holes in the
Quite strange at first sight that the failure should depend on the files
containing NULs!
But I've reproduced it on both Ubuntu and OpenSUSE with d73762e "Preparing for
release of 3.1.3".
The problem remains even if you drop the --checksum or --delay-updates options
from the command line, but