Malformed or suspicious input files can cause std::exceptions by vector<>.reserve() calls. Now they are caught to avoid crashes or other vulnerabilities.