ID:               39661
 User updated by:  mark at temporal-solutions dot co dot uk
 Reported By:      mark at temporal-solutions dot co dot uk
-Status:           Open
+Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:      5.2.0
 New Comment:

Edit: Discard; patching process created conflict in local paths and
selected an INI that had the wrong php4 compatability set.


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

[2006-11-28 16:36:08] mark at temporal-solutions dot co dot uk

Unfortunately this snapshot seems to make all classes passed by value
rather than by reference like they were in php4.

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

[2006-11-28 15:28:54] mark at temporal-solutions dot co dot uk

Confirming latest snapshot fixes this error.

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

[2006-11-28 15:20:35] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



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

[2006-11-28 15:11:22] mark at temporal-solutions dot co dot uk

Description:
------------
Imploding an array containing a NULL as an argument to sprintf causes
php-cgi.exe crash with null pointer read under IIS5.1 w/ Windows XP SP2
Pro.

Reproduce code:
---------------
<?
        $keys = array();
        $keys[] = NULL;
        sprintf('%s', implode(' ', $keys));
?>

Expected result:
----------------
Script execute and produce nothing.

Actual result:
--------------
CGI crash reading memory at 0x000000


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


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

Reply via email to