VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-16 21:02:09 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-16 21:02:09 +0100
commit70e9868c8e4f4af6345a50d153f82803e6a09bbc (patch)
tree7c25b7ec108885f8cc6f6126d3c00d9435bb5638 /src
parent768effbe967ebe4f08b9debf549427278751ad01 (diff)
downloadVeraCrypt-70e9868c8e4f4af6345a50d153f82803e6a09bbc.tar.gz
VeraCrypt-70e9868c8e4f4af6345a50d153f82803e6a09bbc.zip
Windows: fix buffer overrun caused by wrong use of wmemsetNewSysEncWizard
Diffstat (limited to 'src')
-rw-r--r--src/Format/Tcformat.c2
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),