prevent tarobject iteration in disaster mode
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 25 Aug 2017 15:03:37 +0000 (17:03 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:09 +0000 (13:34 +0200)
commitc52fd26b17cf2018b847ec05c8882b6a13847480
treed0f856d921d1b7b7ceb61a66b2269f901783a7ee
parent8fc6040c3398ac76a76d84018dac6bc2b8015dca
prevent tarobject iteration in disaster mode

The tarfile iterator relies on the header data to determine the
next object offset which may be wrong for corrupt files. Instead,
skip that iteration step and completely rely on the object
offsets determined during index rebuild.
deltatar/deltatar.py