mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix GH-17403: Potential deadlock when putenv fails
This commit is contained in:
commit
c0da1bc44d
1 changed files with 1 additions and 0 deletions
|
@ -828,6 +828,7 @@ PHP_FUNCTION(putenv)
|
|||
#endif
|
||||
RETURN_TRUE;
|
||||
} else {
|
||||
tsrm_env_unlock();
|
||||
free(pe.putenv_string);
|
||||
zend_string_release(pe.key);
|
||||
#ifdef PHP_WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue