mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05: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:
1 parent
6e1f5cfe4b
commit
723fcfa64d
1 file changed
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user