Skip to content

sqlite: allow setting defensive flag#60217

Merged
nodejs-github-bot merged 6 commits intonodejs:mainfrom
louwers:defensive
Oct 27, 2025
Merged

sqlite: allow setting defensive flag#60217
nodejs-github-bot merged 6 commits intonodejs:mainfrom
louwers:defensive

Conversation

@louwers
Copy link
Copy Markdown
Contributor

@louwers louwers commented Oct 11, 2025

Adds support for setting the defensive flag. See SQLITE_DBCONFIG_DEFENSIVE.

This is one of the APIs needed for Defense Against The Dark Arts when dealing with untrusted SQL queries. Another being the sqlite3_limit() interface, which may be a neat future addition.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants