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, serhiy.storchaka, twouters
Date 2018-08-06.07:57:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533542270.27.0.56676864532.issue34341@psf.upfronthosting.co.za>
In-reply-to
Content
When the ZIP archive is opened for appending, it reads the Central Directory at opening and writes existing entries back at closing. The Zip64 Extra Field is appended to existing Extra Fields if necessary. This leads to increasing the size of the Extra Fields data every time when append to the ZIP archive. Since the total size of Extra Fields is limited by 0xffff bytes, this can cause the failure.

The proposed PR removes the Zip64 Extra Field before adding a new Zip64 Extra Field.
History
Date User Action Args
2018-08-06 07:57:50serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, alanmcintyre
2018-08-06 07:57:50serhiy.storchakasetmessageid: <1533542270.27.0.56676864532.issue34341@psf.upfronthosting.co.za>
2018-08-06 07:57:50serhiy.storchakalinkissue34341 messages
2018-08-06 07:57:49serhiy.storchakacreate