Skip to content

Undefined behavior #1

@rgrmra

Description

@rgrmra

Your ft_atoi_recursive has an undefined behavior when you try to pass numbers with minus in the middle of the string, like: 1-1-1-1 or 111-1.

static long ft_atoi_recursive(const char *string, long sign, long nb)

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