[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Bisecting gives me the commit as da6ce58dd5ac109485af45878fca6bfd265b43e9 where exception message is improved with issue36993 -- nosy: +serhiy.storchaka ___ Python tracker

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: master produces the below error while 3.8.0 produces IndexError. I guess it's fixed by one of the reports. ./python ../backups/bpo39018.py ../crash-23b7d72644702df94bfcfaab4c25b01ff31c0b38 Traceback (most recent call last): File "/home/xtreak/stu

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread jvoisin
New submission from jvoisin : The attached file raises an `IndexError: tuple index out of range` exception when trying to open it with `zipfile.Zipfile('crash-23b7d72644702df94bfcfaab4c25b01ff31c0b38')`, with the following stacktrace: ``` $ cat test_zip.py import zipfile import sys with zip