php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32339 apache crash when try to serialize an object with a reflection class in
Submitted: 2005-03-16 16:27 UTC Modified: 2005-03-18 19:21 UTC
From: fdussert at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.0.1 OS: win xp sp1
Private report: No CVE-ID: None
 [2005-03-16 16:27 UTC] fdussert at gmail dot com
Description:
------------
hello,
i'm using php 5.01 on apache 2.
I've a class with an attribute which is a reflection class instance.
I put a __call method to be able to manipulate my reflection class instance.
I don't know if apache crash cose there's no __sleep method in my reflection class instance or cose i try to put my class in a session var.
thanks 
PS : sorry for my english, i'm french


Reproduce code:
---------------
function __construct($serv,$clname)
{
$this->serv			= $serv;
$this->ref		= new ReflectionClass($clname);
$this->instance = $this->ref->newInstance($serv);
}

Actual result:
--------------
apache crash

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-16 22:52 UTC] fdussert at gmail dot com
i think the crash appened cose i have a __call method in my object and when i put it in session __call catch the __sleep call.
 [2005-03-18 19:21 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC