VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-09-20 19:28:33 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:23:28 +0100
commit8a028aca45ccb5bbce20c51050a3bf0f11d36a78 (patch)
tree49ea7cd9e4a5ba0b4c9074ec891bddc2beeff63d /src
parentfb12b635ed7123aabc96421fb12c6257dc18624b (diff)
downloadVeraCrypt-8a028aca45ccb5bbce20c51050a3bf0f11d36a78.tar.gz
VeraCrypt-8a028aca45ccb5bbce20c51050a3bf0f11d36a78.zip
Use absolute path in ShellExecute call that was missed when the security fix for Microsoft Security Advisory 2269637 was implemented.
Diffstat (limited to 'src')
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index 990c04df..ffb62ecb 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -6949,7 +6949,7 @@ BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, int textByteLen)
StringCbCopyA(filename, sizeof(filename), "C:\\Windows\\" PRINT_TOOL);
WaitCursor ();
- ShellExecute (NULL, "open", PRINT_TOOL, cl, NULL, SW_HIDE);
+ ShellExecute (NULL, "open", filename, cl, NULL, SW_HIDE);
Sleep (6000);
NormalCursor();