summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2016-11-10 16:03:41 +0900
committerJoe Watkins <krakjoe@php.net>2016-11-16 05:08:28 +0000
commit6230c2bad089bfbf518b64ef0868bf9d55a2145c (patch)
treea93a4ab30d0ff32c855a617326750da52afc08cd /ext/session/php_session.h
parentd6c36e9af7ce43445b823e9a3b96868cf60fa7ed (diff)
downloadphp-git-6230c2bad089bfbf518b64ef0868bf9d55a2145c.tar.gz
Fix Bug #73461
This patch disables any invalid save handler calls.
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r--ext/session/php_session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index da5e48515a..775527c2f6 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -205,6 +205,7 @@ typedef struct _php_ps_globals {
zend_bool use_strict_mode; /* whether or not PHP accepts unknown session ids */
zend_bool lazy_write; /* omit session write when it is possible */
zend_string *session_vars; /* serialized original session data */
+ zend_bool in_save_handler; /* state that if session is in save handler or not */
} php_ps_globals;
typedef php_ps_globals zend_ps_globals;