ID:               43525
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mi+php at aldan dot algebra dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Compile Warning
 Operating System: FreeBSD/amd64
 PHP Version:      5.2.5
-Assigned To:      
+Assigned To:      dmitry


Previous Comments:
------------------------------------------------------------------------

[2007-12-07 05:13:38] mi+php at aldan dot algebra dot com

Description:
------------
The "id" variable in the zend_list family of functions should be ulong
(or uintptr_t, as pointers are often stored there). It already is ulong
in the underlying "workhorse" function zend_hash_index_find.

At least one spot -- in in pgsql.c -- makes an id from a pointer, which
leads to nasty occasional errors and httpd-/crashes/ on 64-bit
platforms.

Please, find the patch on
http://virtual-estates.com/~mi/port-stuff/patch-zend_list







------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43525&edit=1

Reply via email to