Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Mar 15, 2025

See Commits and Changes for more details.


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

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

ndossche and others added 7 commits March 15, 2025 00:32
…in destructor

The problem is that `php_request_shutdown` calls `php_deactivate_ticks` prior
to running destructors and the shutdown functions and finalizing output
handlers.
So if a destructor or shutdown function re-registers a tick function,
then the user tick functions handler will be added back to `PG(tick_functions)`.
When the next request happens, the list `PG(tick_functions)` still contains an
entry to call the user tick functions (added in the previous request
during shutdown). This causes a NULL deref eventually because
`run_user_tick_functions` assumes that if it is called then
`BG(user_tick_functions)` must be non-NULL.

Fix this by moving the tick handler deactivation.

Closes GH-18047.
* PHP-8.4:
  Fix GH-18015: Error messages for ldap_mod_replace are confusing
…ction (#17632)

Changed to not execute php_firebird_begin_transaction
if transaction cannot be started successfully

Closes #17632
* PHP-8.4:
  Fixed pdo_firebird_handle_factory to check ret when starting a transaction (#17632)
@pull pull bot added the ⤵️ pull label Mar 15, 2025
@pull pull bot merged commit e954bf6 into wudi:master Mar 15, 2025
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.

2 participants