mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix GH-15028: Memory leak in ext/phar/stream.c Fix GH-15023: Memory leak in Zend/zend_ini.c Fix GH-15020: Memory leak in Zend/Optimizer/escape_analysis.c
This commit is contained in:
commit
f21947a7ae
4 changed files with 11 additions and 0 deletions
8
NEWS
8
NEWS
|
@ -2,6 +2,11 @@ PHP NEWS
|
|||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.3.11
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-15020 (Memory leak in Zend/Optimizer/escape_analysis.c).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-15023 (Memory leak in Zend/zend_ini.c). (nielsdos)
|
||||
|
||||
- Curl:
|
||||
. Fixed case when curl_error returns an empty string.
|
||||
(David Carlier)
|
||||
|
@ -9,6 +14,9 @@ PHP NEWS
|
|||
- Soap:
|
||||
. Fixed bug #55639 (Digest autentication dont work). (nielsdos)
|
||||
|
||||
- Streams:
|
||||
. Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
|
||||
|
||||
01 Aug 2024, PHP 8.3.10
|
||||
|
||||
- Core:
|
||||
|
|
|
@ -414,6 +414,7 @@ zend_result zend_ssa_escape_analysis(const zend_script *script, zend_op_array *o
|
|||
}
|
||||
|
||||
if (zend_build_equi_escape_sets(ees, op_array, ssa) == FAILURE) {
|
||||
free_alloca(ees, use_heap);
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
@ -243,6 +243,7 @@ ZEND_API zend_result zend_register_ini_entries_ex(const zend_ini_entry_def *ini_
|
|||
if (p->name) {
|
||||
zend_string_release_ex(p->name, 1);
|
||||
}
|
||||
pefree(p, true);
|
||||
zend_unregister_ini_entries_ex(module_number, module_type);
|
||||
return FAILURE;
|
||||
}
|
||||
|
|
|
@ -782,6 +782,7 @@ static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from
|
|||
}
|
||||
if (PHAR_G(readonly) && (!pto || !pto->is_data)) {
|
||||
php_url_free(resource_from);
|
||||
php_url_free(resource_to);
|
||||
php_error_docref(NULL, E_WARNING, "phar error: Write operations disabled by the php.ini setting phar.readonly");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue