summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-27 18:11:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-27 18:11:57 (GMT)
commita60f1c4faf32e0e1d89a4f88e3b5851e1c0aec27 (patch)
tree1a91fbdccfcbe8274c71310db2fa4cfb882eba5c /Source/CTest
parentc03ee3ca714715671ff54cd2f61217b62637ff14 (diff)
parent1d16eae868b2542789de9d2b6224c8d3185540d4 (diff)
downloadCMake-a60f1c4faf32e0e1d89a4f88e3b5851e1c0aec27.zip
CMake-a60f1c4faf32e0e1d89a4f88e3b5851e1c0aec27.tar.gz
CMake-a60f1c4faf32e0e1d89a4f88e3b5851e1c0aec27.tar.bz2
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
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmParseJacocoCoverage.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmParseJacocoCoverage.cxx b/Source/CTest/cmParseJacocoCoverage.cxx
index 61c5dcb..b78142a 100644
--- a/Source/CTest/cmParseJacocoCoverage.cxx
+++ b/Source/CTest/cmParseJacocoCoverage.cxx
@@ -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()) {