Merge pull request #649 from DelphiGit/Issue621

Fix for unquoted path vulnerability
This commit is contained in:
Justin Clift
2016-07-14 22:05:45 +01:00
committed by GitHub

View File

@@ -375,8 +375,8 @@ if(WIN32 AND NOT UNIX)
# VS redist
list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
ExecWait '$INSTDIR\\\\tmp\\\\${VSREDIST} /install /passive /quiet'
Delete '$INSTDIR\\\\tmp\\\\${VSREDIST}'
ExecWait '\\\"$INSTDIR\\\\tmp\\\\${VSREDIST}\\\" /install /passive /quiet'
Delete '\\\"$INSTDIR\\\\tmp\\\\${VSREDIST}\\\"'
")
else(WIN32 AND NOT UNIX)
set(CPACK_STRIP_FILES "bin/sqlitebrowser")