mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows:Fix various issues and warnings reported by static code analysis tool Coverity.
This commit is contained in:
@@ -712,7 +712,7 @@ BOOL DoFilesInstall (HWND hwndDlg, wchar_t *szDestDir)
|
||||
StringCbCatW (szDir, sizeof(szDir), L"Drivers\\");
|
||||
}
|
||||
else if (*szFiles[i] == L'W')
|
||||
GetWindowsDirectory (szDir, sizeof (szDir));
|
||||
GetWindowsDirectory (szDir, ARRAYSIZE (szDir));
|
||||
|
||||
if (*szFiles[i] == L'I')
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user