Edit report at https://bugs.php.net/bug.php?id=55688&edit=1

 ID:                 55688
 Updated by:         larue...@php.net
 Reported by:        fel...@php.net
 Summary:            Crash when calling SessionHandler::gc()
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            Session related
 PHP Version:        trunk-SVN-2011-09-14 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

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/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2011-09-14 04:10:30] larue...@php.net

Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=316711
Log: Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change

------------------------------------------------------------------------
[2011-09-14 01:08:46] fel...@php.net

Description:
------------
See below.

Test script:
---------------
<?php  

ini_set('session.save_handler', 'files');
$x = new SessionHandler;
$x->gc(1);

Expected result:
----------------
No crash.

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x08281f38 in ps_gc_files (mod_data=0x8949fe4, maxlifetime=1, 
nrdels=0xbfffcd50, tsrm_ls=0x88b0050)
    at /home/felipe/dev/phptrunk/ext/session/mod_files.c:447
447             if (data->dirdepth == 0) {
(gdb) p data
$1 = (ps_files *) 0x0



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55688&edit=1

Reply via email to