History log of /PHP-8.2/ext/sqlite3/tests/gh9032.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ca84d06b 27-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-9032: SQLite3 authorizer crashes on NULL values


# 8ed21a89 18-Jul-2022 Christoph M. Becker

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 seg

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.

show more ...