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  d0724013c1c10641afa9e22b95c1057819d1dedb (commit)
       via  01e1f69466a2d2ac1f9edb7193be15fc84566600 (commit)
      from  2aa32677691bea08274631f0107b7524f531801c (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d0724013c1c10641afa9e22b95c1057819d1dedb
commit d0724013c1c10641afa9e22b95c1057819d1dedb
Merge: 2aa3267 01e1f69
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Tue Jul 19 16:28:03 2016 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Tue Jul 19 16:28:03 2016 -0400

    Merge topic 'nsis-protect-uninst-exec' into next
    
    01e1f694 NSIS: Quote uninstaller path when executing it in a shell


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=01e1f69466a2d2ac1f9edb7193be15fc84566600
commit 01e1f69466a2d2ac1f9edb7193be15fc84566600
Author:     Justin Clift <jus...@postgresql.org>
AuthorDate: Fri Jul 15 14:18:37 2016 +0100
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Tue Jul 19 16:27:41 2016 -0400

    NSIS: Quote uninstaller path when executing it in a shell
    
    Protect our `$0` reference in the shell as `"$0"`.  Otherwise it works
    with a space in the path only due to an insecure Windows feature.
    
    Reported-by: Cyril VALLICARI <c.vallic...@gmail.com>

diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in
index 1ef3d28..92a3142 100644
--- a/Modules/NSIS.template.in
+++ b/Modules/NSIS.template.in
@@ -920,7 +920,7 @@ uninst:
   ClearErrors
   StrLen $2 "\Uninstall.exe"
   StrCpy $3 $0 -$2 # remove "\Uninstall.exe" from UninstallString to get path
-  ExecWait '$0 _?=$3' ;Do not copy the uninstaller to a temp file
+  ExecWait '"$0" _?=$3' ;Do not copy the uninstaller to a temp file
 
   IfErrors uninst_failed inst
 uninst_failed:

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to