Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SeqBuf::remove crash #20

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Fix SeqBuf::remove crash #20

merged 2 commits into from
Nov 26, 2024

Conversation

aecsocket
Copy link
Owner

Fixes #19.

Added a fuzz test to find the edge case (it was removing with key: u16::MAX), and a unit test for this.

@aecsocket aecsocket merged commit 2622441 into main Nov 26, 2024
12 checks passed
@aecsocket aecsocket deleted the crash-fix branch November 26, 2024 10:11
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.

Panic originating in SeqBuf::remove; annotated as "shouldn't panic"
1 participant