diff --git a/Sandboxie/core/drv/verify.h b/Sandboxie/core/drv/verify.h index e2bdd8cb..4f7edc95 100644 --- a/Sandboxie/core/drv/verify.h +++ b/Sandboxie/core/drv/verify.h @@ -79,7 +79,7 @@ enum ECertLevel { eCertNoLevel = 0b000, eCertStandard = 0b010, eCertStandard2 = 0b011, - eCertAdvanced = 0b101, + eCertAdvanced = 0b100, eCertMaxLevel = 0b111, }; diff --git a/Sandboxie/core/svc/MountManager.cpp b/Sandboxie/core/svc/MountManager.cpp index fc712179..4613661f 100644 --- a/Sandboxie/core/svc/MountManager.cpp +++ b/Sandboxie/core/svc/MountManager.cpp @@ -991,8 +991,7 @@ bool MountManager::AcquireBoxRoot(const WCHAR* boxname, const WCHAR* reg_root, c std::wstring TargetNtPath; SCertInfo CertInfo = { 0 }; - //if ((UseFileImage || UseRamDisk) && (!NT_SUCCESS(SbieApi_Call(API_QUERY_DRIVER_INFO, 3, -1, (ULONG_PTR)&CertInfo, sizeof(CertInfo))) || !CERT_IS_LEVEL(CertInfo, (UseFileImage ? eCertAdvanced : eCertStandard)))) { - if ((UseFileImage || UseRamDisk) && (!NT_SUCCESS(SbieApi_Call(API_QUERY_DRIVER_INFO, 3, -1, (ULONG_PTR)&CertInfo, sizeof(CertInfo))) || !CERT_IS_LEVEL(CertInfo, (UseFileImage ? 0b100 : eCertStandard)))) { + if ((UseFileImage || UseRamDisk) && (!NT_SUCCESS(SbieApi_Call(API_QUERY_DRIVER_INFO, 3, -1, (ULONG_PTR)&CertInfo, sizeof(CertInfo))) || !CERT_IS_LEVEL(CertInfo, (UseFileImage ? eCertAdvanced : eCertStandard)))) { const WCHAR* strings[] = { boxname, UseFileImage ? L"UseFileImage" : L"UseRamDisk" , NULL }; SbieApi_LogMsgExt(session_id, UseFileImage ? 6009 : 6008, strings); errlvl = 0x66; diff --git a/SandboxiePlus/version.h b/SandboxiePlus/version.h index cc3e6b28..046e2ae8 100644 --- a/SandboxiePlus/version.h +++ b/SandboxiePlus/version.h @@ -3,7 +3,7 @@ #define VERSION_MJR 1 #define VERSION_MIN 11 #define VERSION_REV 0 -#define VERSION_UPD 2 +#define VERSION_UPD 3 #ifndef STR #define STR2(X) #X