Miguel Hernández Martos enla...@gmail.com 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
Nadeem Vawda nadeem.va...@gmail.com 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
Paul paul.bauer.spearst...@gmail.com 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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6434
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 3.2, Python 3.3 -Python 2.4, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6434
___
Paul paul.bauer.spearst...@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
Chris Lambacher ch...@kateandchris.net 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
segfault42 brice.na...@free.fr added the comment:
still no one to help on this problem ? is someone has some idea ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6434
___
Amaury Forgeot d'Arc amaur...@gmail.com 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 rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com 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 rep...@bugs.python.org
segfault42 brice.na...@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
New submission from segfault42 brice.na...@free.fr:
Hello,
I have a problem with the librairy zipfile.py
http://svn.python.org/view/python/trunk/Lib/zipfile.py?revision=73565view=markup
Zinfo structure limit the size of a file to an int max value with the
ZIP64_LIMIT value ( equal to (1 31)
segfault42 brice.na...@free.fr added the comment:
look like issue 1182788
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6434
___
13 matches
Mail list logo