You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The create_function_v2 reuse-by-name branch invokes the previous
slot's destroy callback with its stored p_app. In PHPUnit usage
(setUp opens a fresh PDO per test), by the time a second setUp
re-registers a same-named UDF, the previous PDO is already gone and
its destroy callback UAFs, which hangs pdo_sqlite indefinitely (this
is what was hanging testFromBase64Function, testAlterTableAdd*, etc.).
Drop the destroy invocation — callbacks still fire from the PHP side
at real PDO-destruction time.
0 commit comments