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

2011-11-03 Thread Nadeem Vawda
Nadeem Vawda added the comment: Marking as duplicate. -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> zipfile writes incorrect local file header for large files in zip64 type: crash -> behavior __

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

2011-11-03 Thread Miguel Hernández Martos
Miguel Hernández Martos added the comment: I think it's a dup of http://bugs.python.org/issue9720 That issue has a patch that allows the generation of zip files with >2GB files. -- nosy: +enlavin ___ Python tracker

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

2011-10-27 Thread Paul
Paul 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 wa

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

2011-10-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.2, Python 3.3 -Python 2.4, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list ma

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

2011-10-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2011-10-27 Thread Paul
Paul added the comment: This is a problem with python2.7 as well. A change in struct between python2.6 and 2.7 raises an exception on overflow instead of silently allowing it. This prevents zipping any file larger than 4.5G. This exception concurs when writing the 32-bit headers (which are

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

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: This should be closed as a dup of #1182788 which the OP identified as being the same bug and which is now fixed due to the implementation. of ZIP64. -- nosy: +lambacck ___ Python tracker

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

2009-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I did reproduce the problem, but I'm sorry I don't have the time to fix it. However, I will review any proposed patch. -- stage: -> needs patch ___ Python tracker _

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

2009-09-01 Thread segfault42
segfault42 added the comment: still no one to help on this problem ? is someone has some idea ? -- ___ Python tracker ___ ___ Python-b

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

2009-07-08 Thread segfault42
segfault42 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

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

2009-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I don't see how it can be a buffer overflow. Or is it an exception raised by the struct.pack function? -- nosy: +amaury.forgeotdarc ___ Python tracker ___

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

2009-07-07 Thread segfault42
segfault42 added the comment: look like issue 1182788 -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2009-07-07 Thread segfault42
New submission from segfault42 : Hello, I have a problem with the librairy zipfile.py http://svn.python.org/view/python/trunk/Lib/zipfile.py?revision=73565&view=markup Zinfo structure limit the size of a file to an int max value with the ZIP64_LIMIT value ( equal to "(1 << 31) - 1 " so to 214