]> git.ipfire.org Git - thirdparty/tar.git/commit
Bugfix --sparse --diff mode
authorPavel Raiskup <praiskup@redhat.com>
Thu, 9 Jul 2020 19:22:10 +0000 (21:22 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Fri, 10 Jul 2020 06:06:42 +0000 (09:06 +0300)
commit1263f9bc1d01b212fa153f29ee6a47a654d5071b
tree151895620066cec6705ce9863bd89542a84018d9
parent1ff0b63f48988ed2a94d42d52f7a81602f874cc8
Bugfix --sparse --diff mode

Originally reported in:
https://bugzilla.redhat.com/show_bug.cgi?id=1853469

* src/sparse.c (check_data_region): Only compare the part of buffer
really fed by safe_read(), not whole rdsize.
src/sparse.c