[Cmake-commits] CMake branch, next, updated. v2.8.1-1297-g6ba9b12
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 3 13:53:03 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 6ba9b12a646ef1984064fdfdaa348af375a93593 (commit)
via d6b71078da1bf75ab3031bae5c2952a6f0bd9d45 (commit)
from bdbc646c279d80351796041c023d62987650e841 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6ba9b12a646ef1984064fdfdaa348af375a93593
commit 6ba9b12a646ef1984064fdfdaa348af375a93593
Merge: bdbc646 d6b7107
Author: Zach Mullen <zach.mullen at kitware.com>
Date: Thu Jun 3 13:53:15 2010 -0400
Merge branch 'ctest-file-checksum' into next
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d6b71078da1bf75ab3031bae5c2952a6f0bd9d45
commit d6b71078da1bf75ab3031bae5c2952a6f0bd9d45
Author: Zach Mullen <zach.mullen at kitware.com>
Date: Thu Jun 3 13:52:48 2010 -0400
Fix subscript out of range crash
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index fe00a82..9bbb2e6 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -61,7 +61,10 @@ private:
std::string GetCurrentValue()
{
std::string val;
- val.assign(&this->CurrentValue[0], this->CurrentValue.size());
+ if(this->CurrentValue.size())
+ {
+ val.assign(&this->CurrentValue[0], this->CurrentValue.size());
+ }
return val;
}
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestSubmitHandler.cxx | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list