[ python-Bugs-1350573 ] zlib.crc32 doesn't handle 0xffffffff seed
SourceForge.net
noreply at sourceforge.net
Mon Nov 7 19:25:03 CET 2005
Bugs item #1350573, was opened at 2005-11-07 18:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&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: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Danny Yoo (dyoo)
Assigned to: Nobody/Anonymous (nobody)
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=105470&aid=1350573&group_id=5470
More information about the Python-bugs-list
mailing list