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

fuzz:parser invalid float input values #812

Closed
BrynCooke opened this issue Jan 22, 2024 · 0 comments · Fixed by #813
Closed

fuzz:parser invalid float input values #812

BrynCooke opened this issue Jan 22, 2024 · 0 comments · Fixed by #813
Assignees

Comments

@BrynCooke
Copy link
Contributor

JSON does not allow for NaN or Inf float values. However Arbitrary creates them resulting in a panic.

Prevent these from being created.

BrynCooke added a commit that referenced this issue Jan 22, 2024
JSON and GraphQL do not allow Nan or Inf float numbers. These are currently being generated by the fuzzer.
Fixes #812
BrynCooke added a commit that referenced this issue Jan 22, 2024
* Fix fuzz f64 generation
JSON and GraphQL do not allow Nan or Inf float numbers. These are currently being generated by the fuzzer.
Fixes #812
@BrynCooke BrynCooke self-assigned this Jan 24, 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 a pull request may close this issue.

1 participant