mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
- Added BG(serialize) and BG(unserialize) initialization
This commit is contained in:
parent
089ba2acc1
commit
f9cc8faa3c
@ -3428,6 +3428,9 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p TSRMLS_DC) /*
|
|||||||
BG(user_tick_functions) = NULL;
|
BG(user_tick_functions) = NULL;
|
||||||
BG(user_filter_map) = NULL;
|
BG(user_filter_map) = NULL;
|
||||||
|
|
||||||
|
memset(&BG(serialize), 0, sizeof(BG(serialize)));
|
||||||
|
memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
|
||||||
|
|
||||||
memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
|
memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
|
||||||
|
|
||||||
#if defined(_REENTRANT) && defined(HAVE_MBRLEN) && defined(HAVE_MBSTATE_T)
|
#if defined(_REENTRANT) && defined(HAVE_MBRLEN) && defined(HAVE_MBSTATE_T)
|
||||||
|
Loading…
Reference in New Issue
Block a user