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 gregory.p.smith
Recipients Danny.Yoo, gregory.p.smith
Date 2015-01-23.23:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422057390.89.0.400487803009.issue23306@psf.upfronthosting.co.za>
In-reply-to
Content
This bug prevents zipfile's writestr() from writing large data (longer than UINT_MAX) to a 64-bit zip file.

The zlib.crc32 function which, as written, cannot accept input with a size larger than an unsigned int.

https://hg.python.org/cpython/file/94ec4d8cf104/Modules/zlibmodule.c#l964

Python 3 has updated this to call the zlib crc32 function multiple times in this situation:

https://hg.python.org/cpython/file/93888975606b/Modules/zlibmodule.c#l1210

so the fix exists, we just need to do this in 2.7.
History
Date User Action Args
2015-01-23 23:56:30gregory.p.smithsetrecipients: + gregory.p.smith, Danny.Yoo
2015-01-23 23:56:30gregory.p.smithsetmessageid: <1422057390.89.0.400487803009.issue23306@psf.upfronthosting.co.za>
2015-01-23 23:56:30gregory.p.smithlinkissue23306 messages
2015-01-23 23:56:30gregory.p.smithcreate