1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix bug GH-12705: Segmentation fault in fpm_status_export_to_zval

Closes GH-12706
This commit is contained in:
Patrick Prasse
2023-11-17 16:32:23 +00:00
committed by Jakub Zelenka
parent 3f57bd80f6
commit df259f88da
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@@ -14,6 +14,10 @@ PHP NEWS
. Fixed bug GH-12616 (DOM: Removing XMLNS namespace node results in invalid
default: prefix). (nielsdos)
- FPM:
. Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval).
(Patrick Prasse)
- Intl:
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)

View File

@@ -56,7 +56,7 @@ int fpm_status_export_to_zval(zval *status)
scoreboard_p = fpm_scoreboard_acquire(NULL, 1);
if (!scoreboard_p) {
zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool);
zlog(ZLOG_NOTICE, "[pool (unknown)] status: scoreboard already in use.");
return -1;
}