Skip to content

Check errno after calling strtol #614

Description

@jgm

Unrelated, but you have to check errno after calling strtol to detect invalid and out-of-range numbers reliably.

Originally posted by @nwellnhof in #613 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions