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 jvoisin
Recipients jvoisin
Date 2019-12-16.12:58:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576501122.43.0.655067405413.issue39064@roundup.psfhosted.org>
In-reply-to
Content
The attached file produces the following stacktrace when opened via `zipfile.ZipFile`, on Python 3.7.5rc1:

```
$ cat ziprepro.py 
import zipfile
import sys

zipfile.ZipFile(sys.argv[1])
```

```
$ python3 ziprepro.py crash-4da08e9ababa495ac51ecad588fd61081a66b5bb6e7a0e791f44907fa274ec62
Traceback (most recent call last):
  File "ziprepro.py", line 4, in <module>
    zipfile.ZipFile(sys.argv[1])
  File "/usr/lib/python3.7/zipfile.py", line 1225, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.7/zipfile.py", line 1310, in _RealGetContents
    fp.seek(self.start_dir, 0)
ValueError: cannot fit 'int' into an offset-sized integer
```

The ValueError exception isn't documented as a possible exception when using zipfile.ZipFile ( https://docs.python.org/3/library/tarfile.html ).
History
Date User Action Args
2019-12-16 12:58:42jvoisinsetrecipients: + jvoisin
2019-12-16 12:58:42jvoisinsetmessageid: <1576501122.43.0.655067405413.issue39064@roundup.psfhosted.org>
2019-12-16 12:58:42jvoisinlinkissue39064 messages
2019-12-16 12:58:42jvoisincreate