File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ PHP NEWS
63
63
. Fixed bug GH-18050 (IN_ARRAY optimization in DFA pass is broken). (ilutov)
64
64
. Fixed bug GH-18113 (stack-buffer-overflow ext/opcache/jit/ir/ir_sccp.c).
65
65
(nielsdos)
66
+ . Fixed bug GH-18112 (NULL access with preloading and INI option). (nielsdos)
66
67
67
68
- Standard:
68
69
. Fix memory leaks in array_any() / array_all(). (nielsdos)
Original file line number Diff line number Diff line change @@ -4733,6 +4733,11 @@ static zend_result accel_finish_startup_preload(bool in_child)
4733
4733
EG (class_table ) = NULL ;
4734
4734
EG (function_table ) = NULL ;
4735
4735
PG (report_memleaks ) = orig_report_memleaks ;
4736
+ #ifdef ZTS
4737
+ /* Reset the virtual CWD state back to the original state created by virtual_cwd_startup().
4738
+ * This is necessary because the normal startup code assumes the CWD state is active. */
4739
+ virtual_cwd_activate ();
4740
+ #endif
4736
4741
} else {
4737
4742
zend_shared_alloc_unlock ();
4738
4743
ret = FAILURE ;
You can’t perform that action at this time.
0 commit comments