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

(s *Slot) UnmarshalJSON() panic on malformed input #125

Closed

Conversation

infosecual
Copy link
Contributor

This PR is very similar to #122. This is a PR to fix a panic in a json unmarshal routine that was found via fuzzing. This PR adds a minimum length check for a valid entry to (s *Slot) UnmarshalJSON() as well as a test for the malformed input.

@infosecual
Copy link
Contributor Author

There are a few other instances of this same issue so I am closing this PR and just making one to fix them all

@infosecual infosecual closed this Apr 1, 2024
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