New submission from Kira Erethon <[email protected]>:
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
----------
components: Extension Modules
messages: 125867
nosy: Kira.Kapoios
priority: normal
severity: normal
status: open
title: Zipfile crashes when zip password is 610
type: crash
versions: Python 2.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10876>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com