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

segfault42 report at bugs.python.org
Wed Jul 8 23:01:39 CEST 2009


segfault42 <brice.nahum at free.fr> added the comment:

yes it's zinfo.file_size which is bigger than the long specify in the 
struct.pack

There's must have a solution with the extra header because a lot of tools 
can zip big file and these zip file can be open by zipfile.py

it's easy to reproduice with a big file of 3 gig.

i think that the problem come from that the write methode do not take 
care of the flag allowZip64

----------

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


More information about the Python-bugs-list mailing list