VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-19 11:26:55 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-12-19 11:41:49 (GMT)
commit3290ef4f75efbc143977af22c5654d0faa6036c6 (patch)
tree11669794adf61a011a2d988837f73e8968ec8a7b /src/Driver
parent800f081f1cc4c8da2b8b6cb90398bd075ea50ed6 (diff)
downloadVeraCrypt-3290ef4f75efbc143977af22c5654d0faa6036c6.zip
VeraCrypt-3290ef4f75efbc143977af22c5654d0faa6036c6.tar.gz
Windows Driver: Don't interact with the volume's filesystem if mount manager integration is disabled
Diffstat (limited to 'src/Driver')
-rw-r--r--src/Driver/Ntdriver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c
index e4e39bc..780db9d 100644
--- a/src/Driver/Ntdriver.c
+++ b/src/Driver/Ntdriver.c
@@ -3794,7 +3794,7 @@ NTSTATUS MountDevice (PDEVICE_OBJECT DeviceObject, MOUNT_STRUCT *mount)
mount->FilesystemDirty = FALSE;
- if (NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject)))
+ if (mount->bMountManager && NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject)))
{
__try
{