Commit replaces strtol() calls with appropriate str2*() ones in order to prevent possible integer *flow via user input.