diff options
author | Brad King <brad.king@kitware.com> | 2019-03-27 18:11:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-03-27 18:11:57 (GMT) |
commit | a60f1c4faf32e0e1d89a4f88e3b5851e1c0aec27 (patch) | |
tree | 1a91fbdccfcbe8274c71310db2fa4cfb882eba5c /Source/CTest | |
parent | c03ee3ca714715671ff54cd2f61217b62637ff14 (diff) | |
parent | 1d16eae868b2542789de9d2b6224c8d3185540d4 (diff) | |
download | CMake-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.cxx | 1 |
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()) { |