mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
parent
26feb2e6f2
commit
a83363e361
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…
Reference in New Issue
Block a user