mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix uninitialized (dummy) memory in php_strtr_array() (#14812)
This commit is contained in:
commit
5b673e99fc
1 changed files with 1 additions and 1 deletions
|
@ -3445,7 +3445,7 @@ static void php_strtr_array(zval *return_value, zend_string *str, HashTable *fro
|
|||
/* case_sensitive */ true,
|
||||
NULL));
|
||||
} else {
|
||||
zend_long dummy;
|
||||
zend_long dummy = 0;
|
||||
RETVAL_STR(php_str_to_str_ex(str,
|
||||
ZSTR_VAL(str_key), ZSTR_LEN(str_key),
|
||||
ZSTR_VAL(replace), ZSTR_LEN(replace), &dummy));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue