[Patches] [ python-Patches-1350573 ] zlib.crc32 doesn't handle 0xffffffff seed
SourceForge.net
noreply at sourceforge.net
Tue Nov 22 16:32:03 CET 2005
Patches item #1350573, was opened at 2005-11-07 13:25
Message generated for change (Settings changed) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1350573&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Danny Yoo (dyoo)
>Assigned to: A.M. Kuchling (akuchling)
Summary: zlib.crc32 doesn't handle 0xffffffff seed
Initial Comment:
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!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1350573&group_id=5470
More information about the Patches
mailing list