mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 20:13:33 +01: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:
parent
6e1f5cfe4b
commit
723fcfa64d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user