Skip to content

go-fuzz-build fails for cuelang.org with 'failed to parse int literal ... value out of range' for very large number #331

Open
@naveensrinivasan

Description

@naveensrinivasan

The go-fuzz-build fails with this.

failed to parse int literal '1000000000000000000000000000000000000000000000000000000000000000': strconv.ParseUint: parsing "1000000000000000000000000000000000000000000000000000000000000000": value out of range

I am guessing probably in this line.

u, err := strconv.ParseUint(lit, 0, 64)

Any idea as to what could be the issue and how to avoid it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions