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 iritkatriel, jvoisin
Date 2022-01-17.11:31:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642419109.84.0.289571501821.issue39064@roundup.psfhosted.org>
In-reply-to
Content
Yes, I can reproduce it:

```
$ python3 --version
Python 3.9.9

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

> It's unlikely that anyone will download a binary from bpo and open it. Can you help us reproduce the issue without that?

The *binary* is a corrupted zip file to open with `zipfile.ZipFile()`, it can't be executed on its own.
History
Date User Action Args
2022-01-17 11:31:49jvoisinsetrecipients: + jvoisin, iritkatriel
2022-01-17 11:31:49jvoisinsetmessageid: <1642419109.84.0.289571501821.issue39064@roundup.psfhosted.org>
2022-01-17 11:31:49jvoisinlinkissue39064 messages
2022-01-17 11:31:49jvoisincreate