force tarfile reopen after bad read in deltatar
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 8 Aug 2017 08:48:31 +0000 (10:48 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:09 +0000 (13:34 +0200)
commitc6226e2a750e69c0cf52fa46bcab8912ff2ca284
treed466e9da747617a4c278b17597f090a551f93e52
parentee0e095f07e8ea49397f8a5d83813fc9034bc595
force tarfile reopen after bad read in deltatar

Closing the tarfile after an unreadable object was encountered
causes the stream to be reopened for the next read. Otherwise,
the corrupt object is already buffered and tarfile would continue
to seek inside the bad data.
deltatar/deltatar.py