Skip to content

Check errno after calling strtol #614

@jgm

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
    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