Merge topic 'jacoco_parser_crash'

1d16eae868 ctest_coverage: fix out-of-bounds index in Jacoco parser

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3147
This commit is contained in:
Brad King
2019-03-27 18:11:37 +00:00
committed by Kitware Robot

View File

@@ -29,6 +29,7 @@ protected:
this->PackageName = atts[1];
this->PackagePath.clear();
} else if (name == "sourcefile") {
this->FilePath.clear();
std::string fileName = atts[1];
if (this->PackagePath.empty()) {