fix uninitialized value

This commit is contained in:
Anatol Belski 2016-12-27 23:43:13 +01:00
parent 1c85bef46b
commit f8aa57ab2f

View File

@ -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]);
}