mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05:00
Windows: fix buffer overrun caused by wrong use of wmemset
This commit is contained in:
1 file changed
+1
-1
@@ -3746,7 +3746,7 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||
|
||||
SetWindowTextW (GetDlgItem (GetParent (hwndDlg), IDC_BOX_TITLE), finalMsg);
|
||||
|
||||
wmemset (finalMsg, 0, sizeof (finalMsg));
|
||||
memset (finalMsg, 0, sizeof (finalMsg));
|
||||
try
|
||||
{
|
||||
StringCbPrintfW (finalMsg, sizeof(finalMsg),
|
||||
|
||||
Reference in new issue
Block a user