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

From: Date: Sun, 07 Apr 2024 13:25:18 +0000
Subject: [php-src] master: Merge branch 'PHP-8.3'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127966@lists.php.net to get a copy of this message
Author: Niels Dossche (nielsdos) Date: 2024-04-07T15:25:15+02:00 Commit: https://github.com/php/php-src/commit/814098248c220bb3725422437d441df826e3cd1b Raw diff: https://github.com/php/php-src/commit/814098248c220bb3725422437d441df826e3cd1b.diff Merge branch 'PHP-8.3' * PHP-8.3: 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 0f68038fcdd8..1b8f36c384a0 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 (#127966) next »