diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-01-02 23:38:43 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-01-03 00:15:11 +0100 |
commit | 723fcfa64dc2e4e4c6efc8a0c8d5cd05c0eaf944 (patch) | |
tree | 8fbc2937aee21095ac11a4e80a7cd344d5456340 | |
parent | 6e1f5cfe4b50918db677f2646446c63c87f70547 (diff) | |
download | VeraCrypt-723fcfa64dc2e4e4c6efc8a0c8d5cd05c0eaf944.tar.gz VeraCrypt-723fcfa64dc2e4e4c6efc8a0c8d5cd05c0eaf944.zip |
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.
-rw-r--r-- | src/Driver/Ntdriver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index 1c2ec97f..9889b437 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -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;
|