mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 21:43:29 +01: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:
parent
fb12b635ed
commit
8a028aca45
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user