Skip to content

Reject overflowing SQLite integer decodes - #75

Merged
lovasoa merged 3 commits into
mainfrom
fix/sqlite-integer-decode-overflow
Nov 25, 2026
Merged

lovasoa merged 3 commits into
mainfrom
fix/sqlite-integer-decode-overflow

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Read the full SQLite signed 64-bit value before checked narrowing to i8, i16 or i32. Regression tests cover out-of-range values, destination boundaries and lossless i64 decoding. Related: sqlpage/SQLPage#1636.

@lovasoa
lovasoa added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit e5b69e2 Nov 25, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant