php-src/ext/pdo_sqlite
Christoph M. Becker 8ed21a89f3
Fix GH-9032: SQLite3 authorizer crashes on NULL values
The arguments 3 to 6 of the authorizer callback may be `NULL`[1], and
we have to properly deal with that.  Instead of causing a segfault, we
deny authorization, which is still better than a crash, and apparently,
we cannot do better anyway.

[1] <https://www.sqlite.org/c3ref/set_authorizer.html>

Closes GH-9040.
2022-07-27 12:49:16 +02:00
..
tests Fix GH-9032: SQLite3 authorizer crashes on NULL values 2022-07-27 12:49:16 +02:00
config.m4 Fixed bug #79056 2020-01-03 11:08:48 +01:00
config.w32 Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite 2019-07-21 00:40:59 +02:00
CREDITS
pdo_sqlite.c Get rid of empty function entries 2020-08-01 10:07:05 +02:00
php_pdo_sqlite.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_pdo_sqlite_int.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
sqlite_driver.c Fix GH-9032: SQLite3 authorizer crashes on NULL values 2022-07-27 12:49:16 +02:00
sqlite_driver.stub.php Improve parameter names in ext/pdo_sqlite 2020-10-12 18:05:35 +02:00
sqlite_driver_arginfo.h Improve parameter names in ext/pdo_sqlite 2020-10-12 18:05:35 +02:00
sqlite_statement.c Handle column count change in PDO MySQL 2020-12-08 16:41:35 +01:00