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, master has been updated via 4746365e0312693b754e59f51e692285c046fa89 (commit) from d8ccd1760c39ba836dc8daf3c0ea4f313be663cc (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=4746365e0312693b754e59f51e692285c046fa89 commit 4746365e0312693b754e59f51e692285c046fa89 Author: Brad King <brad.k...@kitware.com> AuthorDate: Fri Aug 27 10:06:28 2010 -0400 Commit: Brad King <brad.k...@kitware.com> CommitDate: Fri Aug 27 10:10:02 2010 -0400 KWSys: Avoid empty string dereference in SplitString diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index bcdb193..5002a06 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1405,6 +1405,10 @@ kwsys_stl::vector<kwsys::String> SystemTools::SplitString(const char* p, char se { kwsys_stl::string path = p; kwsys_stl::vector<kwsys::String> paths; + if(path.empty()) + { + return paths; + } if(isPath && path[0] == '/') { path.erase(path.begin()); ----------------------------------------------------------------------- Summary of changes: Source/kwsys/SystemTools.cxx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits