apollographql / apollo-rs

Spec compliant GraphQL Tools in Rust.
Apache License 2.0
574 stars 45 forks source link

fuzz:parser invalid float input values #812

Closed BrynCooke closed 9 months ago

BrynCooke commented 9 months ago

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

Prevent these from being created.