ID: 49757 Updated by: [email protected] Reported By: sg at efficientip dot com -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: FreeBSD 7.2 PHP Version: 5.2.11 New Comment:
This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-10-05 14:45:54] [email protected] Automatic comment from SVN on behalf of iliaa Revision: http://svn.php.net/viewvc/?view=revision&revision=289216 Log: Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications). # original patch by Florian Anderiasch ------------------------------------------------------------------------ [2009-10-02 21:13:34] sg at efficientip dot com Description: ------------ long2ip use inet_ntoa which is not thread-safe (use inet_ntop instead). inet_ntoa is also used in several other functions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49757&edit=1
