Skip to content

Ensure WAL payload is less than max uint32 - #628

Merged
yacovm merged 1 commit into
mainfrom
max-wal-write
Oct 18, 2026
Merged

yacovm merged 1 commit into
mainfrom
max-wal-write

Conversation

@samliok

@samliok samliok commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Shouldn't happen because our records aren't this big, but it was flagged by Mythos and is probably worth a defensive check.

Closes #560

@yacovm
yacovm merged commit cc906f0 into main Oct 18, 2026
7 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.

32-bit truncation/overflow in WAL length arithmetic wipes or panics on WALs near 4 GiB

2 participants