Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue34341

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Appending to ZIP archive blows up existing Central Directory entries
Type:behaviorStage:resolved
Components:Library (Lib)Versions:Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: alanmcintyre, miss-islington, serhiy.storchaka, twouters
Priority:normalKeywords:patch

Created on2018-08-06 07:57 byserhiy.storchaka, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 8683mergedserhiy.storchaka,2018-08-06 08:07
PR 9356mergedmiss-islington,2018-09-17 12:36
PR 9357mergedmiss-islington,2018-09-17 12:37
PR 9400mergedserhiy.storchaka,2018-09-18 17:33
Messages (5)
msg323181 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-08-06 07:57
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.
msg325536 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-09-17 12:36
New changeset9bdb7be482aef8f60daa1d36606568a132dcb616 by Serhiy Storchaka in branch 'master':bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)https://github.com/python/cpython/commit/9bdb7be482aef8f60daa1d36606568a132dcb616
msg325539 -(view)Author: miss-islington (miss-islington)Date: 2018-09-17 13:08
New changesetefdf316d23c2bc81f499c46faaba5e1b49509afa by Miss Islington (bot) in branch '3.7':bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)https://github.com/python/cpython/commit/efdf316d23c2bc81f499c46faaba5e1b49509afa
msg325542 -(view)Author: miss-islington (miss-islington)Date: 2018-09-17 13:11
New changeset83a0985165abf340294c10d732840e9d46ba218c by Miss Islington (bot) in branch '3.6':bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)https://github.com/python/cpython/commit/83a0985165abf340294c10d732840e9d46ba218c
msg325679 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-09-18 20:28
New changeset29034baf58156e2462b0680e9092c0a3cccb0798 by Serhiy Storchaka in branch '2.7':[2.7]bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683). (GH-9400)https://github.com/python/cpython/commit/29034baf58156e2462b0680e9092c0a3cccb0798
History
DateUserActionArgs
2022-04-11 14:59:04adminsetgithub: 78522
2018-09-18 20:34:16serhiy.storchakasetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.6
2018-09-18 20:28:38serhiy.storchakasetmessages: +msg325679
2018-09-18 17:33:01serhiy.storchakasetpull_requests: +pull_request8823
2018-09-17 13:11:46miss-islingtonsetmessages: +msg325542
2018-09-17 13:08:53miss-islingtonsetnosy: +miss-islington
messages: +msg325539
2018-09-17 12:37:04miss-islingtonsetpull_requests: +pull_request8780
2018-09-17 12:36:54miss-islingtonsetpull_requests: +pull_request8779
2018-09-17 12:36:45serhiy.storchakasetmessages: +msg325536
2018-08-06 08:07:41serhiy.storchakasetkeywords: +patch
stage: patch review
pull_requests: +pull_request8178
2018-08-06 07:57:50serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp