ID: 9564
Updated by: sas
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
Thanks for your report. The specific code was changed in the past and was not affected
by that bug anymore.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-05 11:25:15] [EMAIL PROTECTED]
It's wrong increment nrdels in PS_GC_FUNC(mm)
'*nrdels++' incremnts nrdels as pointer,
but nrdels is allocated on the stack in php_session_start(PSLS_D).
This is a patch for a local copy of my repositry,
--- mod_mm.c 2001/01/13 10:54:33 1.1.1.2
+++ mod_mm.c 2001/03/05 16:11:46
@@ -333,7 +333,7 @@
ps_mm_debug("looking at %sn", sd->key);
if ((now - sd->ctime) > maxlifetime) {
ps_sd_destroy(data, sd);
- *nrdels++;
+ (*nrdels)++;
}
}
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9564&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]