[php-src] master: Merge branch 'PHP-8.2' into PHP-8.3

From: Date: Sun, 07 Apr 2024 13:25:17 +0000
Subject: [php-src] master: Merge branch 'PHP-8.2' into PHP-8.3
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127965@lists.php.net to get a copy of this message
Author: Niels Dossche (nielsdos) Date: 2024-04-07T15:25:08+02:00 Commit: https://github.com/php/php-src/commit/6c7707e918121cb4a3a350c942e2eb7f741a063c Raw diff: https://github.com/php/php-src/commit/6c7707e918121cb4a3a350c942e2eb7f741a063c.diff Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: Fix persistent local flag in session url updating (#13905) Changed paths: M ext/standard/url_scanner_ex.re Diff: diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index a4a48b6bf60e..77b4d79793b6 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -140,6 +140,7 @@ static int php_ini_on_update_hosts(zend_ini_entry *entry, zend_string *new_value if (keylen > 0) { /* Note: the hash table is persistently allocated, so the strings must be too! */ tmp_key = zend_string_init(key, keylen, true); + GC_MAKE_PERSISTENT_LOCAL(tmp_key); zend_hash_add_empty_element(hosts, tmp_key); zend_string_release_ex(tmp_key, true); }

« previous php.cvs (#127965) next »