#23783 [Asn->Csd]: NULL value in function indirection segfaults
| From: | sterling@php.net | Date: | Sat, 05 Jul 2003 15:22:35 +0000 |
| Subject: | #23783 [Asn->Csd]: NULL value in function indirection segfaults | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43300@lists.php.net to get a copy of this message | ||
ID: 23783
Updated by: sterling@php.net
Reported By: leon at leonatkinson dot com
-Status: Assigned
+Status: Closed
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 5CVS-2003-05-23 (dev)
Assigned To: derick
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, 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/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-05-23 11:47:19] leon at leonatkinson dot com
The following example results in a segfault in PHP 5. It's OK in
4.3.0.
<?
function f($v)
{
print("$v\n");
}
//OK (control)
$Function = "f";
$Function("success");
//OK (fatal error)
//$Function = "f2";
//$Function("success");
//Segfault (should be fatal error)
$Function = NULL;
$Function("success");
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23783&edit=1