[phpOpenTracker-devel] [Bug #5817] crc32 results on 64bit architecture

[email protected] Mon, 5 Dec 2005 13:11:17 +0100 (CET)
Newsgroups gmane.comp.web.phpopentracker.devel
Message-ID <[email protected]>
Bug #5817, was updated on 2005-Dec-05 13:11
Here is a current snapshot of the bug.

Project: phpOpenTracker
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: sneak
Assigned to : none
Summary: crc32 results on 64bit architecture

Details: since pot uses crc32 to compute hashes which will be stored in SQL columns it comes to problems on Machines with 64bit CPUs.
For example accesslog_id is stored as signed integer in MySQL in a int(10) column.
64bit Integer Values are to long to fit in this type of columns. 
You'd need a hash algorithm which produces the correct Values regardless of the length of the system Integers.
Hope this helps.

For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=5817&group_id=2025