Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 10, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

arnaud-lb and others added 8 commits October 10, 2025 15:42
preload_load() reads EG(class_table) and EG(function_table), but these may not
be initialized. Move these accesses out of preload_load().

Closes GH-20081
* PHP-8.3:
  Fix access to uninitialized variables in preload_load()
* PHP-8.4:
  Fix access to uninitialized variables in preload_load()
* PHP-8.5:
  Fix access to uninitialized variables in preload_load()
Preloading may fork and wait for the child to exit. In case waitpid() is
interrupted, the parent exits with a fatal error. This is fine when the
syscall is interrupted by a signal whose disposition is set to terminate
the process, but not otherwise.

In the apache2handler SAPI, the parent is the control process. Restarting
apache2 is done by sending SIGUSR1 or SIGHUP to the control process. Doing that
during the waitpid() syscall would cause the control process to exit instead.

Block the USR1 and HUP signals from being delivered during the syscall when
running the apache2handler SAPI, as these are not supposed to terminate
the process.

FPM is fine as it masks relevant signals during php startup.

Fixes GH-20051
Closes GH-20079

Co-authored-by: mycozyhom <[email protected]>
This was due to not omitting logging using external_log

Closes GH-20123
* PHP-8.5:
  Fix GH-19989: PHP 8.5 FPM access log lines also go to STDERR
@pull pull bot locked and limited conversation to collaborators Oct 10, 2025
@pull pull bot added the ⤵️ pull label Oct 10, 2025
@pull pull bot merged commit 12b16c6 into wudi:master Oct 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants