php-src/ext/sqlite3
Niels Dossche 824d1f95ad Fix replaced error handling in SQLite3Stmt::__construct
The error handling is replaced using zend_replace_error_handling(), but
when SQLITE3_CHECK_INITIALIZED() returns early, the old error handling
isn't restored.

In the past, SQLITE3_CHECK_INITIALIZED() threw a warning when the check
failed. This was replaced a few years ago with an error exception. So we
can fix the bug by just removing the replacing error handling as it
accomplishes nothing anymore.

Closes GH-11607.
2023-07-07 10:24:54 +02:00
..
tests Fix #81742: open_basedir bypass in SQLite3 by using file URI 2022-12-06 15:59:52 +01:00
config.w32 sqlite3 linkage issue on some systems/package combination fix. 2020-08-21 15:45:51 +02:00
config0.m4 Require sqlite >= 3.7.7 for URI in DSN (#7347) 2021-08-11 10:31:28 +02:00
CREDITS
php_sqlite3.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_sqlite3_structs.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
sqlite3.c Fix replaced error handling in SQLite3Stmt::__construct 2023-07-07 10:24:54 +02:00
sqlite3.stub.php Use single line phpdoc in stubs where possible 2021-07-20 13:16:56 +02:00
sqlite3_arginfo.h Use single line phpdoc in stubs where possible 2021-07-20 13:16:56 +02:00