VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-04 02:30:49 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-01-04 02:37:37 +0100
commit7a15ff2083d75cdfe343de154715442dce635492 (patch)
treea5c1450807bbb51c3ad01b3dd7ce0495f9b2afb0 /src/Driver/Ntdriver.c
parent0600ae7d1cba6b6c4a4c9867976487727f9792cc (diff)
downloadVeraCrypt-7a15ff2083d75cdfe343de154715442dce635492.tar.gz
VeraCrypt-7a15ff2083d75cdfe343de154715442dce635492.zip
Windows: Enhance fix for dll hijacking vulnerability affecting installer (CVE-2016-1281)
Diffstat (limited to 'src/Driver/Ntdriver.c')
-rw-r--r--src/Driver/Ntdriver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c
index 9889b437..e4779315 100644
--- a/src/Driver/Ntdriver.c
+++ b/src/Driver/Ntdriver.c
@@ -3496,6 +3496,9 @@ BOOL IsOSAtLeast (OSVersionEnum reqMinOS)
case WIN_SERVER_2003: major = 5; minor = 2; break;
case WIN_VISTA: major = 6; minor = 0; break;
case WIN_7: major = 6; minor = 1; break;
+ case WIN_8: major = 6; minor = 2; break;
+ case WIN_8_1: major = 6; minor = 3; break;
+ case WIN_10: major = 10; minor = 0; break;
default:
TC_THROW_FATAL_EXCEPTION;