mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
fix uninitialized value
This commit is contained in:
parent
1c85bef46b
commit
f8aa57ab2f
@ -2824,6 +2824,7 @@ static PHP_GINIT_FUNCTION(ps) /* {{{ */
|
||||
ps_globals->mod_user_implemented = 0;
|
||||
ps_globals->mod_user_is_open = 0;
|
||||
ps_globals->session_vars = NULL;
|
||||
ps_globals->set_handler = 0;
|
||||
for (i = 0; i < PS_NUM_APIS; i++) {
|
||||
ZVAL_UNDEF(&ps_globals->mod_user_names.names[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user