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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, loewis, pitrou, vgeorge
Date 2009-01-17.21:39:48
SpamBayes Score 3.5141936e-09
Marked as misclassified No
Message-id <1232228390.32.0.898036843235.issue3997@psf.upfronthosting.co.za>
In-reply-to
Content
Oops, I did see this before, but forgot to merge the patches.

It appears that "centDirOffset == 0xffffffff" is not the correct test 
for detecting zip64 structure. From the PKZip notes, a value of 
0xffffffff does imply a zip64 format, not the other way round.

So it seems necessary to always try to read the zip64 info (the _EndRecData64 function does not fail if the format is not zip64 - is 
simply returns the previous structure)
Patch is attached, and now the test passes.
History
Date User Action Args
2009-01-17 21:39:50amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, pitrou, vgeorge
2009-01-17 21:39:50amaury.forgeotdarcsetmessageid: <1232228390.32.0.898036843235.issue3997@psf.upfronthosting.co.za>
2009-01-17 21:39:49amaury.forgeotdarclinkissue3997 messages
2009-01-17 21:39:49amaury.forgeotdarccreate