281ac43e35
The existing strspn() check guarantees that the string contains no '-' but atoi() does not catch errors, especially not integer overflows.