We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7166932 commit 325ca31Copy full SHA for 325ca31
NEWS
@@ -6,6 +6,9 @@ PHP NEWS
6
. Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable).
7
(Derick)
8
9
+- FPM:
10
+ . Fixed zlog message prepend, free on incorrect address. (Heiko Weber)
11
+
12
- GD:
13
. Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument).
14
(cmb)
sapi/fpm/fpm/zlog.c
@@ -651,7 +651,7 @@ zlog_bool zlog_stream_set_msg_suffix(
651
stream->msg_final_suffix_len = strlen(final_suffix);
652
len = stream->msg_final_suffix_len + 1;
653
if (stream->msg_final_suffix != NULL) {
654
- free(stream->msg_suffix);
+ free(stream->msg_final_suffix);
655
}
656
stream->msg_final_suffix = malloc(len);
657
if (stream->msg_final_suffix == NULL) {
0 commit comments