mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix GH-17403: Potential deadlock when putenv fails
This commit is contained in:
3
NEWS
3
NEWS
@@ -7,6 +7,9 @@ PHP NEWS
|
||||
inaccurate sunrise and sunset times, but other calculated times are
|
||||
correct) (JiriJozif).
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GH-17403 (Potential deadlock when putenv fails). (nielsdos)
|
||||
|
||||
24 Apr 2025, PHP 8.4.7
|
||||
|
||||
- Core:
|
||||
|
||||
@@ -827,6 +827,7 @@ PHP_FUNCTION(putenv)
|
||||
#endif
|
||||
RETURN_TRUE;
|
||||
} else {
|
||||
tsrm_env_unlock();
|
||||
free(pe.putenv_string);
|
||||
zend_string_release(pe.key);
|
||||
#ifdef PHP_WIN32
|
||||
|
||||
Reference in New Issue
Block a user