[fuzz, binary] Assertion `StartColNo <= map.getSourceLine().size() && "Invalid range!"' failed. #22327
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash-on-invalid
Extended Description
Fuzzing discovered that the attached test case, which contains non-printable characters, when given as input to
clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm
causes this assertion failure:
clang-3.6: tools/clang/lib/Frontend/TextDiagnostic.cpp:972: void highlightRange(const clang::CharSourceRange&, unsigned int, clang::FileID, const {anonymous}::SourceColumnMap&, std::string&, const clang::SourceManager&, const clang::LangOptions&): Assertion `StartColNo <= map.getSourceLine().size() && "Invalid range!"' failed.
The text was updated successfully, but these errors were encountered: