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: panic when head-skipping to a single-byte key #282

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

V0ldek
Copy link
Member

@V0ldek V0ldek commented Sep 21, 2023

Short description

This was detected by fuzzing! Searching for { or [ with descendant would cause a panic
if the input started with the sequence
{" or [", respectively.

Issue

Resolves: #281

Checklist

All of these should be ticked off before you submit the PR.

  • I ran just verify locally and it succeeded.
  • Issue was given go ahead and is linked above OR I have included justification for a minor change.
  • Unit tests for my changes are included OR no functionality was changed.

- This was detected by fuzzing! Searching for `{` or `[`
with descendant would cause a panic
if the input started with the sequence
`{"` or `["`, respectively.

Ref: #281
@V0ldek V0ldek force-pushed the v0ldek/#281-panic-when-head-skipping branch from 9ca291d to 92c263a Compare September 21, 2023 21:50
@V0ldek V0ldek merged commit 1fd5a8f into main Sep 21, 2023
@V0ldek V0ldek deleted the v0ldek/#281-panic-when-head-skipping branch September 21, 2023 22:16
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 when head-skipping to the key { or [
1 participant