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 Kira.Erethon
Recipients Kira.Erethon
Date 2011-01-09.22:17:42
SpamBayes Score 0.00065685174
Marked as misclassified No
Message-id <1294611467.71.0.814994722037.issue10876@psf.upfronthosting.co.za>
In-reply-to
Content
Was playing around with Zipfile and passwords in zip files and I noticed that when the password on zipfile.setpassword(pwd) was set 610, the program crashed with the following errors

  File "/usr/lib/python2.6/zipfile.py", line 938, in extractall
    self.extract(zipinfo, path, pwd)
  File "/usr/lib/python2.6/zipfile.py", line 926, in extract
    return self._extract_member(member, path, pwd)
  File "/usr/lib/python2.6/zipfile.py", line 971, in _extract_member
    shutil.copyfileobj(source, target)
  File "/usr/lib/python2.6/shutil.py", line 28, in copyfileobj
    buf = fsrc.read(length)
  File "/usr/lib/python2.6/zipfile.py", line 612, in read
    newdata = self.dc.decompress(newdata)
zlib.error: Error -3 while decompressing: invalid distance too far back
History
Date User Action Args
2011-01-09 22:17:47Kira.Erethonsetrecipients: + Kira.Erethon
2011-01-09 22:17:47Kira.Erethonsetmessageid: <1294611467.71.0.814994722037.issue10876@psf.upfronthosting.co.za>
2011-01-09 22:17:42Kira.Erethonlinkissue10876 messages
2011-01-09 22:17:42Kira.Erethoncreate