Skip to content

Comments

ext/pcntl: Fix signal table updated before php_signal4 succeeds in pc…#21270

Open
devnexen wants to merge 1 commit intophp:PHP-8.4from
devnexen:pcntl_signal_fix
Open

ext/pcntl: Fix signal table updated before php_signal4 succeeds in pc…#21270
devnexen wants to merge 1 commit intophp:PHP-8.4from
devnexen:pcntl_signal_fix

Conversation

@devnexen
Copy link
Member

…ntl_signal

Move the signal table update after the php_signal4 call, mirroring what is already done in the SIG_DFL/SIG_IGN (integer) code path. This prevents a stale entry in the table if sigaction fails.

…ntl_signal

Move the signal table update after the php_signal4 call, mirroring
what is already done in the SIG_DFL/SIG_IGN (integer) code path.
This prevents a stale entry in the table if sigaction fails.
@devnexen devnexen marked this pull request as ready for review February 21, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant