diff options
| author | Yasuo Ohgaki <yohgaki@php.net> | 2002-02-22 15:01:20 +0000 |
|---|---|---|
| committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-02-22 15:01:20 +0000 |
| commit | f7a54490c0de2350343bd53aef73c070119f96b2 (patch) | |
| tree | 488c3f8e93efdf1742d1c6a8889f80842eed8e99 | |
| parent | d1336b2fce9b681ac2a533e58cbf11a1f42ff990 (diff) | |
| download | php-git-f7a54490c0de2350343bd53aef73c070119f96b2.tar.gz | |
Fix crash bug. 4th parameter is not incremental value, but it's assigned.
# Are we going to have 4.1.2?
| -rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 44ffb9fb4c..0481aad01a 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -437,7 +437,7 @@ static void php_session_track_init(TSRMLS_D) MAKE_STD_ZVAL(PS(http_session_vars)); array_init(PS(http_session_vars)); ZEND_SET_GLOBAL_VAR_WITH_LENGTH("HTTP_SESSION_VARS", sizeof("HTTP_SESSION_VARS"), PS(http_session_vars), 1, 0); - ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 1, 0); + ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 0); } } |
