-
Notifications
You must be signed in to change notification settings - Fork 8
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
Panic when head-skipping to the key {
or [
#281
Labels
area: result
Improvements in query result reporting
batch-fuzzer
Caught by batch fuzzer run.
type: bug
Something isn't working
Milestone
Comments
V0ldek
added
type: bug
Something isn't working
batch-fuzzer
Caught by batch fuzzer run.
labels
Sep 21, 2023
Tagging @V0ldek for notifications |
github-actions
bot
added
acceptance: go ahead
Reviewed, implementation can start
and removed
acceptance: triage
Waiting for owner's input
labels
Sep 21, 2023
Root cause:For a single-byte key we look for the single byte followed by a double quote, if the input starts with |
V0ldek
added a commit
that referenced
this issue
Sep 21, 2023
- 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
added a commit
that referenced
this issue
Sep 21, 2023
- 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
added a commit
that referenced
this issue
Sep 21, 2023
- 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
added a commit
that referenced
this issue
Sep 21, 2023
- 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
added a commit
that referenced
this issue
Sep 21, 2023
- 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
3 tasks
github-project-automation
bot
moved this from Todo
to Merged
in Active rsonpath development
Sep 21, 2023
github-actions
bot
removed
the
acceptance: go ahead
Reviewed, implementation can start
label
Sep 21, 2023
Fixed in v0.8.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: result
Improvements in query result reporting
batch-fuzzer
Caught by batch fuzzer run.
type: bug
Something isn't working
Package
CLI
Describe the bug
Head skipping looking for the key
{
or[
on specific inputs causes a panic.Minimal Reproducible Example
The same panic happens for a similar input with square brackets:
Expected behavior
Doesn't panic.
Workarounds (optional)
No response
Proposed solution (optional)
No response
Version of the release
v0.8.1
Rust version
1.72.1
Target triple
x86_64-unkown-linux-gnu
Features enabled
default
Codegen options
link-arg=-fuse-ld=lld
Additional context (optional)
Caught by the batch fuzzer!
https://github.com/V0ldek/rsonpath/actions/runs/6256645027/job/16987800097
The text was updated successfully, but these errors were encountered: