diff --git a/Sandboxie/core/dll/custom.c b/Sandboxie/core/dll/custom.c index 38d4ce41..633433bb 100644 --- a/Sandboxie/core/dll/custom.c +++ b/Sandboxie/core/dll/custom.c @@ -1621,7 +1621,7 @@ ULONG Nsi_NsiAllocateAndGetTable(int a1, struct NPI_MODULEID* NPI_MS_ID, unsigne UINT_PTR key; // simple keys are sizeof(void*) key = *(UINT_PTR*)&pEntry->Address[0]; -#ifndef _WIN64 // on 32 bit platforms xor booth hafs to generate a 32 bit key +#ifndef _WIN64 // on 32-bit platforms, xor both halves to generate a 32-bit key key ^= *(UINT_PTR*)&pEntry->Address[4]; #endif diff --git a/Sandboxie/core/drv/verify.h b/Sandboxie/core/drv/verify.h index b6cb06b6..48e19f80 100644 --- a/Sandboxie/core/drv/verify.h +++ b/Sandboxie/core/drv/verify.h @@ -37,8 +37,8 @@ typedef union _SCertInfo { opt_desk : 1, // Isolated Sandboxie Desktops: "UseSandboxDesktop" opt_net : 1, // Advanced Network features: "NetworkDnsFilter", "NetworkUseProxy". opt_enc : 1, // Box Encryption and Box Protection: "ConfidentialBox", "UseFileImage", "EnableEFS". - opt_sec : 1; // Variouse security enchanced box types: "UseSecurityMode", "SysCallLockDown", "RestrictDevices", "UseRuleSpecificity", "UsePrivacyMode", "ProtectHostImages", - // as well as reduced isoaltion box type: "NoSecurityIsolation". + opt_sec : 1; // Various security enhanced box types: "UseSecurityMode", "SysCallLockDown", "RestrictDevices", "UseRuleSpecificity", "UsePrivacyMode", "ProtectHostImages", + // as well as reduced isolation box type: "NoSecurityIsolation". // Other features, available with any cert: "UseRamDisk", "ForceUsbDrives", // as well as Automatic Updates, etc.... diff --git a/SandboxiePlus/SandMan/Views/SbieView.cpp b/SandboxiePlus/SandMan/Views/SbieView.cpp index 4b1bfe4d..7bc997e8 100644 --- a/SandboxiePlus/SandMan/Views/SbieView.cpp +++ b/SandboxiePlus/SandMan/Views/SbieView.cpp @@ -1099,7 +1099,7 @@ QString CSbieView::ImportSandbox() if (!Status.IsError()) Status = pBoxEx->ImportBox(Path, Password); - // always overwirte restored FileRootPath + // always overwrite restored FileRootPath pBox->SetText("FileRootPath", BoxRoot); } }