Skip to content

fix WAL enum decoding for corrupt records#350

Open
justrach wants to merge 2 commits intomainfrom
fix/226-wal-replay-enumfromint-on-untrusted-bytes-can-trap
Open

fix WAL enum decoding for corrupt records#350
justrach wants to merge 2 commits intomainfrom
fix/226-wal-replay-enumfromint-on-untrusted-bytes-can-trap

Conversation

@justrach
Copy link
Copy Markdown
Owner

Use checked enum conversion for Language and EdgeKind when replaying WAL records so corrupt bytes stop replay cleanly instead of trapping. Add regression tests for both cases.

Refs #226

Use checked enum conversion for Language and EdgeKind when replaying WAL records so corrupt bytes stop replay cleanly instead of trapping. Add regression tests for both cases.

Refs #226
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