Skip to content

encoding/json: Unmarshal leaves ±Inf in the destination on float overflow in Go 1.27 [1.27 backport] #81084

Description

@gopherbot

@dsnet requested issue #81062 to be considered for backport to the next 1.27 minor release.

@gopherbot Please backport to 1.27. This is a regression in encoding/json causing it to store Inf when a parsing a value that overflows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickCandidateUsed during the release process for point releases

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions