Message234587
Reproduction steps:
---
$ python2.7 -c "import zlib;zlib.crc32('a'*(1<<31))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
OverflowError: size does not fit in an int
---
We ran into this bug in zlib.crc32 when using zipfile.writestr() with a very large string; as soon as zipfile tried to write the crc checksum, it raised this error.
Python 3 does not appear to suffer from this bug. |
|
Date |
User |
Action |
Args |
2015-01-23 23:49:26 | Danny.Yoo | set | recipients:
+ Danny.Yoo, gregory.p.smith |
2015-01-23 23:49:26 | Danny.Yoo | set | messageid: <1422056966.81.0.518971767948.issue23306@psf.upfronthosting.co.za> |
2015-01-23 23:49:26 | Danny.Yoo | link | issue23306 messages |
2015-01-23 23:49:26 | Danny.Yoo | create | |
|