|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-16 17:39 UTC] sas@php.net
[2001-08-30 11:49 UTC] eiji at papanui dot ddt dot or dot jp
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
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 %s\n", sd->key); if ((now - sd->ctime) > maxlifetime) { ps_sd_destroy(data, sd); - *nrdels++; + (*nrdels)++; } }