File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ PHP NEWS
6363 . Fixed bug GH-18050 (IN_ARRAY optimization in DFA pass is broken). (ilutov)
6464 . Fixed bug GH-18113 (stack-buffer-overflow ext/opcache/jit/ir/ir_sccp.c).
6565 (nielsdos)
66+ . Fixed bug GH-18112 (NULL access with preloading and INI option). (nielsdos)
6667
6768- Standard:
6869 . 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)
47334733 EG (class_table ) = NULL ;
47344734 EG (function_table ) = NULL ;
47354735 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
47364741 } else {
47374742 zend_shared_alloc_unlock ();
47384743 ret = FAILURE ;
You can’t perform that action at this time.
0 commit comments