This patch disables any invalid save handler calls.
This commit is contained in:
Yasuo Ohgaki 2016-11-10 16:03:41 +09:00 committed by Joe Watkins
parent d6c36e9af7
commit 6230c2bad0
6 changed files with 96 additions and 11 deletions

View file

@ -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;