mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Free opened_path when opened_path_len >= MAXPATHLEN
This commit is contained in:
commit
1c74a1a889
2 changed files with 4 additions and 0 deletions
3
NEWS
3
NEWS
|
@ -46,6 +46,9 @@ PHP NEWS
|
|||
(ilutov)
|
||||
. Fix theoretical issues with hrtime() not being available. (nielsdos)
|
||||
|
||||
- Windows:
|
||||
. Free opened_path when opened_path_len >= MAXPATHLEN. (dixyes)
|
||||
|
||||
31 Jul 2025, PHP 8.4.11
|
||||
|
||||
- Calendar:
|
||||
|
|
|
@ -186,6 +186,7 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, zend_st
|
|||
free(random_prefix_w);
|
||||
efree(random_prefix);
|
||||
efree(new_state.cwd);
|
||||
free(opened_path);
|
||||
return -1;
|
||||
}
|
||||
assert(strlen(opened_path) == opened_path_len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue