[fuzz, binary] Assertion `StartColNo <= EndColNo && "Trying to highlight whitespace??"' failed. #22329
Labels
bugzilla
Issues migrated from bugzilla
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
crash-on-invalid
worksforme
Resolved as "works for me"
Extended Description
Fuzzing discovered that the attached test case, which contains a null byte, 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:969: void highlightRange(const clang::CharSourceRange&, unsigned int, clang::FileID, const {anonymous}::SourceColumnMap&, std::string&, const clang::SourceManager&, const clang::LangOptions&): Assertion `StartColNo <= EndColNo && "Trying to highlight whitespace??"' failed.
The text was updated successfully, but these errors were encountered: