Prevent buffer overflow if there are too many command line arguments.