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 pitrou
Recipients pitrou
Date 2008-09-06.00:16:27
SpamBayes Score 0.017764503
Marked as misclassified No
Message-id <1220660191.68.0.82924423128.issue3790@psf.upfronthosting.co.za>
In-reply-to
Content
Currently (in py3k), the attributes "unused_data" and "unconsumed_tail"
on zlib decompressor objects are bytearrays. This can wreak havoc in the
read() method of ZipInfo objects, because one of those bytearrays is
assigned to the internal "rawbuffer" and then extended using "+="...
leading to wrong results (right now I can only reproduce it on a 3.5 GB
zip file, sorry :-( ).

Here is a patch.
History
Date User Action Args
2008-09-06 00:16:32pitrousetrecipients: + pitrou
2008-09-06 00:16:31pitrousetmessageid: <1220660191.68.0.82924423128.issue3790@psf.upfronthosting.co.za>
2008-09-06 00:16:30pitroulinkissue3790 messages
2008-09-06 00:16:29pitroucreate