Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLITE_DBCONFIG_DEFENSIVE flag #838

Open
brodycj opened this issue Dec 16, 2018 · 0 comments
Open

SQLITE_DBCONFIG_DEFENSIVE flag #838

brodycj opened this issue Dec 16, 2018 · 0 comments

Comments

@brodycj
Copy link
Contributor

brodycj commented Dec 16, 2018

Extra defense that "prevents ordinary SQL statements from corrupting the database file" (https://www.sqlite.org/security.html), as a followup to SQLite 3.26.0 security update (#837).

Will be part of the upcoming major release (#773) due to the potential for this to be a breaking change.

ref: https://www.sqlite.org/c3ref/c_dbconfig_defensive.html#sqlitedbconfigdefensive

NOTE that this is a run-time setting used in sqlite3_db_config() and not a compile-time build option like I had originally thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant