-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
philosophers/philo/src/utils/ft_atoi.c
Line 26 in 38d6cba
| static long ft_atoi_recursive(const char *string, long sign, long nb) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels