diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-03-06 22:22:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:40 (GMT) |
commit | 191f25e2bd0a8b63d5abfecfd403b9f1414dfc8d (patch) | |
tree | 69b584c4fef291aeec7dbc84974c85a02f00d1be /Source/CPack | |
parent | 219d6ad6101cb90f951b193d721a19896f7a6b20 (diff) | |
download | CMake-191f25e2bd0a8b63d5abfecfd403b9f1414dfc8d.zip CMake-191f25e2bd0a8b63d5abfecfd403b9f1414dfc8d.tar.gz CMake-191f25e2bd0a8b63d5abfecfd403b9f1414dfc8d.tar.bz2 |
stringapi: Prevent a NULL dereference in WiX
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index a8e104b..3915b31 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -1089,7 +1089,7 @@ int cmCPackGenerator::DoPackage() * may update this during PackageFiles. * (either putting several names or updating the provided one) */ - packageFileNames.push_back(tempPackageFileName); + packageFileNames.push_back(tempPackageFileName ? tempPackageFileName : ""); toplevel = tempDirectory; if ( !this->PackageFiles() || cmSystemTools::GetErrorOccuredFlag()) { |