summaryrefslogtreecommitdiff
path: root/ext/session/mod_user_class.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-14 04:10:45 +0000
committerXinchen Hui <laruence@php.net>2011-09-14 04:10:45 +0000
commit057aa683f1be4b58cce74ea00e0d9a9e15ebab0e (patch)
tree7804195ab1ddec844a72f059541ee6c625349264 /ext/session/mod_user_class.c
parent872ff4f8c9209047522b7c87c3c98ada4f910cda (diff)
downloadphp-git-057aa683f1be4b58cce74ea00e0d9a9e15ebab0e.tar.gz
Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change
Diffstat (limited to 'ext/session/mod_user_class.c')
-rw-r--r--ext/session/mod_user_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_user_class.c b/ext/session/mod_user_class.c
index efc39c3fa6..e72f9585c4 100644
--- a/ext/session/mod_user_class.c
+++ b/ext/session/mod_user_class.c
@@ -133,7 +133,7 @@ PHP_METHOD(SessionHandler, gc)
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;