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 on invalid number #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stusmall
Copy link

I added a small check for a case that would previous panic. This was found through fuzzing. I've found another issue where it is possible to overflow the stack using a query with a long series of ['s. The change for this might be intrusive though. Before I fix it I wanted to send this PR up and check to see if you are interested in the more intrusive change.

@cetra3
Copy link
Collaborator

cetra3 commented Dec 15, 2022

Excellent work. I would be open to including some fuzzing infrastructure in this repo if you feel like raising a PR.

For the more "intrusive" change, feel free to open a PR and we can work through it. Definitely keen to prevent panics & stack overflows.

@stusmall
Copy link
Author

I'll open a separate PR when time allows for the others. Where can I view the results of a travisci run? I can seem to find that and it will be useful when doing the fuzzing PR.

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.

None yet

2 participants