#33473 [Opn->Fbk]: Apache crash on assigning new object to $_SESSION
| From: | tony2001@php.net | Date: | Sat, 25 Jun 2005 18:11:31 +0000 |
| Subject: | #33473 [Opn->Fbk]: Apache crash on assigning new object to $_SESSION | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81006@lists.php.net to get a copy of this message | ||
ID: 33473
Updated by: tony2001@php.net
Reported By: webmaster at mif dot it
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Win XP Pro
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-06-25 17:19:16] webmaster at mif dot it
Description:
------------
To instantiate a new object and assigning it to a not initialized
session variable, will result in Apache/php dll to crash.
Reproduce code:
---------------
# This will crash Apache/php5 dll
$_SESSION['myvar'] = new MyObj();
# This will be executed without problems
$_SESSION['myvar'] = null;
$_SESSION['myvar'] = new MyObj();
Expected result:
----------------
That Apache / PHP doesn't crash.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33473&edit=1