php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33473 Apache crash on assigning new object to $_SESSION
Submitted: 2005-06-25 17:19 UTC Modified: 2005-11-28 12:19 UTC
From: webmaster at mif dot it Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.0.4 OS: Win XP Pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: webmaster at mif dot it
New email:
PHP Version: OS:

 

 [2005-06-25 17:19 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-25 20:11 UTC] tony2001@php.net
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


 [2005-07-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-11-28 11:33 UTC] markus at cultcom dot de
This bug is reproducable with FC4 PHP Packages here (5.0.4), is this acutally fixed in 5.0.5?
 [2005-11-28 12:19 UTC] tony2001@php.net
Try something newer than 5.0.4 and let us know.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 05:03:38 2023 UTC