mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08: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:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user