mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
parent
26feb2e6f2
commit
a83363e361
2 changed files with 2 additions and 1 deletions
1
NEWS
1
NEWS
|
@ -45,6 +45,7 @@ PHP NEWS
|
|||
. Fixed ACL build check on MacOS. (David Carlier)
|
||||
. Fixed bug #72185: php-fpm writes empty fcgi record causing nginx 502.
|
||||
(Jakub Zelenka, loveharmful)
|
||||
. Fixes use after free. (Heiko Weber).
|
||||
|
||||
- Mysqlnd:
|
||||
. Fixed bug #81719: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)
|
||||
|
|
|
@ -766,8 +766,8 @@ static int fpm_evaluate_full_path(char **path, struct fpm_worker_pool_s *wp, cha
|
|||
}
|
||||
|
||||
if (strlen(*path) > strlen("$prefix")) {
|
||||
free(*path);
|
||||
tmp = strdup((*path) + strlen("$prefix"));
|
||||
free(*path);
|
||||
*path = tmp;
|
||||
} else {
|
||||
free(*path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue