diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-01-16 21:02:09 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-01-16 21:02:09 +0100 |
commit | 70e9868c8e4f4af6345a50d153f82803e6a09bbc (patch) | |
tree | 7c25b7ec108885f8cc6f6126d3c00d9435bb5638 | |
parent | 768effbe967ebe4f08b9debf549427278751ad01 (diff) | |
download | VeraCrypt-NewSysEncWizard.tar.gz VeraCrypt-NewSysEncWizard.zip |
Windows: fix buffer overrun caused by wrong use of wmemsetNewSysEncWizard
-rw-r--r-- | src/Format/Tcformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 54276de7..06d2c31a 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -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), |