Description
found by clang analyzer
!isnan(atoi(argv[2])) results in undefined behaviour.
Fix: use strtol, replacement for atoi with error checking and more input format support. can do octal and hexadecimal input out of the box
found by clang analyzer
!isnan(atoi(argv[2])) results in undefined behaviour.
Fix: use strtol, replacement for atoi with error checking and more input format support. can do octal and hexadecimal input out of the box