mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows Driver: Remove unwanted ':' character at the end of volume device name. This was causing a crash in Kaspersky Internet Security 2016 when a program is run from a VeraCrypt volume.
This commit is contained in:
@@ -1966,8 +1966,8 @@ VOID VolumeThreadProc (PVOID Context)
|
||||
|
||||
void TCGetNTNameFromNumber (LPWSTR ntname, int cbNtName, int nDriveNo)
|
||||
{
|
||||
WCHAR tmp[3] =
|
||||
{0, ':', 0};
|
||||
WCHAR tmp[2] =
|
||||
{0, 0};
|
||||
int j = nDriveNo + (WCHAR) 'A';
|
||||
|
||||
tmp[0] = (short) j;
|
||||
|
||||
Reference in New Issue
Block a user