PHP 4.0 Bug #5186 Updated: Certain combinations of session actions lead to segfault
| From: | Bug Database | Date: | Thu, 27 Jul 2000 19:23:52 +0000 |
| Subject: | PHP 4.0 Bug #5186 Updated: Certain combinations of session actions lead to segfault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26577@lists.php.net to get a copy of this message | ||
ID: 5186
Updated by: jalal
Reported By: mnc@firmseek.com
Status: Suspended
Bug Type: Reproduceable crash
Assigned To:
Comments:
<?
function crash()
{
global $x;
global $HTTP_SESSION_VARS;
session_start();
session_register('x');
$x++;
}
crash();
print "value is $x";
?>
This causes a crash here, but by commenting out the
$HTTP_SESSION_VARS, it no longer crashes.
Is this something that needs looking into?
Or does it come under the heading of wrong usage?
Full Bug description available at: http://bugs.php.net/?id=5186