[issue6434] buffer overflow in Zipfile when wrinting more than 2gig file

Paul report at bugs.python.org
Fri Oct 28 00:26:37 CEST 2011


Paul <paul.bauer.spearstone at gmail.com> added the comment:

I attempted to "re-allow overflow" in the struct(...) call by replacing `zinfo.file_size` with `ZIP64_LIMIT % zinfo.file_size` in zipfile.py, and successfully produced a compressed file from a 10G file, but the resulting compressed file could not be uncompressed and was deemed "invalid" by any unzip util I tried.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6434>
_______________________________________


More information about the Python-bugs-list mailing list