mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 14:03:29 +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)
|
void TCGetNTNameFromNumber (LPWSTR ntname, int cbNtName, int nDriveNo)
|
||||||
{
|
{
|
||||||
WCHAR tmp[3] =
|
WCHAR tmp[2] =
|
||||||
{0, ':', 0};
|
{0, 0};
|
||||||
int j = nDriveNo + (WCHAR) 'A';
|
int j = nDriveNo + (WCHAR) 'A';
|
||||||
|
|
||||||
tmp[0] = (short) j;
|
tmp[0] = (short) j;
|
||||||
|
Loading…
Reference in New Issue
Block a user