Skip to content

validate the parameters of table properly - #1504

Merged
JoshuaWise merged 1 commit into
WiseLibs:masterfrom
theosotr:master
Jul 29, 2026
Merged

validate the parameters of table properly#1504
JoshuaWise merged 1 commit into
WiseLibs:masterfrom
theosotr:master

Conversation

@theosotr

@theosotr theosotr commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the issue in #1502 (comment), which causes an uncatchable SIGABRT through the public JS API of better-sqlite3.

The fix is at the JS layer where it ensures that the parameter list of a table is indeed a string array.

Important note: the more robust fix is to perform this check at the C++ layer though.

@theosotr
theosotr requested a review from JoshuaWise as a code owner July 25, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants