Issue1350573
Created on 2005年11月07日 18:25 by dyoo, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
zlibmodule.c.diff
|
dyoo,
2005年11月07日 18:25
|
patch to zlibmodule.c to handle unsigned long seed |
| Messages (2) |
|
msg48984 - (view) |
Author: Danny Yoo (dyoo) |
Date: 2005年11月07日 18:25 |
Reported by John Schmidt: zlibc.crc32 doesn't appear to
properly parse its seed argument. For example:
######
>>> zlib.crc32('foobar',0xFFFFFFFF))
OverflowError: long int too large to convert to int
######
This appears to be fixed if we make the included patch
to zlibmodule. I haven't tested this on a 64-bit
platform, though; can someone look into this?
Hope this helps!
|
|
msg48985 - (view) |
Author: A.M. Kuchling (akuchling) * (Python committer) |
Date: 2005年11月22日 15:39 |
Logged In: YES
user_id=11375
I've applied your suggested fix to the HEAD and
release24-maint branches. Thanks!
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月11日 14:56:13 | admin | set | github: 42565 |
| 2005年11月07日 18:25:02 | dyoo | create |