summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-06-20 17:13:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-06-20 17:13:13 (GMT)
commit7e5509a260a3573d817d6095dc21d40a94fc9fa8 (patch)
tree24d426a19bf84b3d628f1cc365292fdf27192a32 /Source/cmake.cxx
parentfe99b156e5b8ddf34d2635c3c3192cfafd9b63af (diff)
downloadCMake-7e5509a260a3573d817d6095dc21d40a94fc9fa8.zip
CMake-7e5509a260a3573d817d6095dc21d40a94fc9fa8.tar.gz
CMake-7e5509a260a3573d817d6095dc21d40a94fc9fa8.tar.bz2
ENH: avoid crash in sprintf
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 44efd23..2f4100f 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2369,7 +2369,7 @@ void cmake::GenerateGraphViz(const char* fileName)
std::map<cmStdString, int> targetDeps;
std::map<cmStdString, cmTarget*> targetPtrs;
std::map<cmStdString, cmStdString> targetNamesNodes;
- char tgtName[100];
+ char tgtName[2048];
int cnt = 0;
// First pass get the list of all cmake targets
for ( lit = localGenerators.begin(); lit != localGenerators.end(); ++ lit )