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
No known key found for this signature in database
GPG key ID: 1C0779DC5C0A9DE4
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;
}