Skip to content

Commit df259f8

Browse files
Patrick Prassebukka
Patrick Prasse
authored andcommitted
Fix bug GH-12705: Segmentation fault in fpm_status_export_to_zval
Closes GH-12706
1 parent 3f57bd8 commit df259f8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ PHP NEWS
1414
. Fixed bug GH-12616 (DOM: Removing XMLNS namespace node results in invalid
1515
default: prefix). (nielsdos)
1616

17+
- FPM:
18+
. Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval).
19+
(Patrick Prasse)
20+
1721
- Intl:
1822
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
1923

sapi/fpm/fpm/fpm_status.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int fpm_status_export_to_zval(zval *status)
5656

5757
scoreboard_p = fpm_scoreboard_acquire(NULL, 1);
5858
if (!scoreboard_p) {
59-
zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool);
59+
zlog(ZLOG_NOTICE, "[pool (unknown)] status: scoreboard already in use.");
6060
return -1;
6161
}
6262

0 commit comments

Comments
 (0)