[php-src] PR #23650: ext/sqlite3: reject close() from inside a callback
| From: | iliaal | Date: | Thu, 10 Sep 2026 22:13:40 +0000 |
| Subject: | [php-src] PR #23650: ext/sqlite3: reject close() from inside a callback | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38425@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23650
Author: iliaal
SQLite3::close() from a userland function, aggregate, collation, or authorizer callback finalized
statements while SQLite was still in the callback and crashed. close() now throws if a per-database
callback counter is non-zero; the handle remains usable until the query finishes.