mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-01-04 12:48:12 -06:00
Windows: use secure string functions
This commit is contained in:
@@ -700,7 +700,7 @@ namespace VeraCrypt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
wchar_t err[8192];
|
wchar_t err[8192];
|
||||||
wsprintfW (err, L"%s:\n\n%hs%s", GetString ("SECURITY_TOKEN_ERROR"), errorString.c_str(), subjectErrorCode.str().c_str());
|
StringCbPrintfW (err, sizeof(err),L"%s:\n\n%hs%s", GetString ("SECURITY_TOKEN_ERROR"), errorString.c_str(), subjectErrorCode.str().c_str());
|
||||||
ErrorDirect (err, parent);
|
ErrorDirect (err, parent);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user