Files
php-src/ext/sqlite3
Ilia Alshanetsky 934d4ff95f Pin $this in zend_call_function (#22151)
zend_call_function() ran the callback with fci_cache->object as $this
without holding a reference, so a callback that released the last
reference to its own receiver (an autoloader unregistering itself, a
SQLite3 authorizer calling setAuthorizer(null)) freed $this while its
frame was still executing. Take the reference where the receiver is
selected rather than after argument setup, so the error handlers
reachable from the deprecation notice and the by-reference warning
cannot free it first, and release it on every early exit.

Fixes GH-22060
Fixes GH-22122
2026-09-21 17:32:32 -04:00
..
2026-09-16 09:03:49 -04:00
2026-09-16 09:03:49 -04:00