php-src/ext/sqlite3
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.w32 sqlite3 linkage issue on some systems/package combination fix. 2020-08-21 15:45:51 +02:00
config0.m4 sqlite3 linkage issue on some systems/package combination fix. 2020-08-21 15:45:51 +02:00
CREDITS
php_sqlite3.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_sqlite3_structs.h Merge branch 'PHP-7.4' 2020-02-21 13:39:05 +01:00
sqlite3.c Fix GH-9032: SQLite3 authorizer crashes on NULL values 2022-07-27 12:49:16 +02:00
sqlite3.stub.php SQLite3::query() cannot return null 2021-01-04 12:13:06 +01:00
sqlite3_arginfo.h SQLite3::query() cannot return null 2021-01-04 12:13:06 +01:00