1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Use absolute path in ShellExecute call that was missed when the security fix for Microsoft Security Advisory 2269637 was implemented.

This commit is contained in:
Mounir IDRASSI
2014-09-20 19:28:33 +02:00
parent fb12b635ed
commit 8a028aca45

View File

@@ -6949,7 +6949,7 @@ BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, int textByteLen)
StringCbCopyA(filename, sizeof(filename), "C:\\Windows\\" PRINT_TOOL); StringCbCopyA(filename, sizeof(filename), "C:\\Windows\\" PRINT_TOOL);
WaitCursor (); WaitCursor ();
ShellExecute (NULL, "open", PRINT_TOOL, cl, NULL, SW_HIDE); ShellExecute (NULL, "open", filename, cl, NULL, SW_HIDE);
Sleep (6000); Sleep (6000);
NormalCursor(); NormalCursor();