mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
Fix ini_restore variable length
This commit is contained in:
parent
4a7f22123f
commit
be83e732af
@ -1889,7 +1889,7 @@ PHP_FUNCTION(ini_restore)
|
||||
|
||||
convert_to_string_ex(varname);
|
||||
|
||||
php_restore_ini_entry((*varname)->value.str.val, (*varname)->value.str.len, PHP_INI_STAGE_RUNTIME);
|
||||
php_restore_ini_entry((*varname)->value.str.val, (*varname)->value.str.len+1, PHP_INI_STAGE_RUNTIME);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user