SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws

This commit is contained in:
bohwaz 2018-12-16 22:52:37 +01:00 committed by Christoph M. Becker
parent 1fd32e9c2f
commit e93259bb23
6 changed files with 75 additions and 0 deletions

View file

@ -28,6 +28,7 @@ extern zend_module_entry sqlite3_module_entry;
ZEND_BEGIN_MODULE_GLOBALS(sqlite3)
char *extension_dir;
int dbconfig_defensive;
ZEND_END_MODULE_GLOBALS(sqlite3)
#ifdef ZTS