svn: /php/php-src/ branches/PHP_5_4/ext/session/mod_user_class.c trunk/ext/session/mod_user_class.c
| From: | Xinchen Hui | Date: | Wed, 14 Sep 2011 04:10:45 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/ext/session/mod_user_class.c trunk/ext/session/mod_user_class.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66525@lists.php.net to get a copy of this message | ||
laruence Wed, 14 Sep 2011 04:10:45 +0000
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
Bug: https://bugs.php.net/55688 (Open) Crash when calling
SessionHandler::gc()
Changed paths:
U php/php-src/branches/PHP_5_4/ext/session/mod_user_class.c
U php/php-src/trunk/ext/session/mod_user_class.c
Modified: php/php-src/branches/PHP_5_4/ext/session/mod_user_class.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/session/mod_user_class.c 2011-09-14 04:06:32 UTC (rev 316710)
+++ php/php-src/branches/PHP_5_4/ext/session/mod_user_class.c 2011-09-14 04:10:45 UTC (rev 316711)
@@ -133,7 +133,7 @@
long maxlifetime;
int nrdels;
- PS_SANITY_CHECK;
+ PS_SANITY_CHECK_IS_OPEN;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &maxlifetime) == FAILURE)
{
return;
Modified: php/php-src/trunk/ext/session/mod_user_class.c
===================================================================
--- php/php-src/trunk/ext/session/mod_user_class.c 2011-09-14 04:06:32 UTC (rev 316710)
+++ php/php-src/trunk/ext/session/mod_user_class.c 2011-09-14 04:10:45 UTC (rev 316711)
@@ -133,7 +133,7 @@
long maxlifetime;
int nrdels;
- PS_SANITY_CHECK;
+ PS_SANITY_CHECK_IS_OPEN;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &maxlifetime) == FAILURE)
{
return;