This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients alanmcintyre, andrei.avk, longavailable, serhiy.storchaka, twouters
Date 2021-08-23.05:32:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629696758.91.0.987123901079.issue41102@roundup.psfhosted.org>
In-reply-to
Content
It is not a bug in archivers, it is just a broken archive. The ZIP archive contains a central directory which lists all files in the archive, so the archiver can just read the central directory without reading all archive to get the list of files. There are also local headers containing file names for every file. In 000.zip the central directory does not match local headers, it contains only the part of files. It is not fault of archivers that they trust the central directory, because it is a purpose of the central directory.

There are specialized tools which allow to restore files not in the central directory, similarly as there are tools which allow to restore just deleted files on the disk. But it is not a task of general archivers.
History
Date User Action Args
2021-08-23 05:32:38serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, alanmcintyre, longavailable, andrei.avk
2021-08-23 05:32:38serhiy.storchakasetmessageid: <1629696758.91.0.987123901079.issue41102@roundup.psfhosted.org>
2021-08-23 05:32:38serhiy.storchakalinkissue41102 messages
2021-08-23 05:32:38serhiy.storchakacreate