VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Apidrvr.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-05 03:22:11 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-05 04:31:17 +0200
commitc94f8c9b63edc756aa05ec85ed8da84ab799205c (patch)
tree63607ad8dc4f41d349e14310e0ae61d57ff062c3 /src/Common/Apidrvr.h
parentea451c72414ea8a14e34fb5da3eaf18c05f9b5dd (diff)
downloadVeraCrypt-c94f8c9b63edc756aa05ec85ed8da84ab799205c.tar.gz
VeraCrypt-c94f8c9b63edc756aa05ec85ed8da84ab799205c.zip
Windows Driver: Modify fix for CVE-2015-7358 to solve side effects on Windows mount manager while still making it hard to abuse drive letter handling.
Diffstat (limited to 'src/Common/Apidrvr.h')
-rw-r--r--src/Common/Apidrvr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Apidrvr.h b/src/Common/Apidrvr.h
index 4fc15767..79cf2377 100644
--- a/src/Common/Apidrvr.h
+++ b/src/Common/Apidrvr.h
@@ -322,7 +322,8 @@ typedef struct
#define NT_MOUNT_PREFIX DRIVER_STR("\\Device\\VeraCryptVolume")
#define NT_ROOT_PREFIX DRIVER_STR("\\Device\\VeraCrypt")
-#define DOS_MOUNT_PREFIX DRIVER_STR("\\GLOBAL??\\") // Explicitely use Global MS-DOS device names to avoid security issues
+#define DOS_MOUNT_PREFIX_DEFAULT DRIVER_STR("\\DosDevices\\")
+#define DOS_MOUNT_PREFIX_GLOBAL DRIVER_STR("\\GLOBAL??\\") // Use Global MS-DOS device names for sanity checks on drive letters
#define DOS_ROOT_PREFIX DRIVER_STR("\\DosDevices\\VeraCrypt")
#define WIN32_ROOT_PREFIX DRIVER_STR("\\\\.\\VeraCrypt")