Skip to content

Bug Report: fastparse integer parsing can return the wrong value #13701

@dbussink

Description

@dbussink

Overview of the Issue

fastparse.ParseUint64("31415926535897932384", 10)

This logic will return the wrong answer, giving 12969182462188380764 with no error instead of an error and the maximum value for a uint64.

Reproduction Steps

Binary Version

-

Operating System and Environment details

-

Log Fragments

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions