This commit is contained in:
DavidXanatos 2023-01-28 18:10:35 +01:00
parent fced9506a1
commit 7329d5629e
2 changed files with 6 additions and 4 deletions

View File

@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added ### Added
- added option to create a new sandbox to run from the box picker dialog - added option to create a new sandbox to run from the box picker dialog
- added sandbox creation wizard (not available in Vintage View mode) - added sandbox creation wizard (not available in Vintage View mode)
- added ability to open all com classes [#2448](https://github.com/sandboxie-plus/Sandboxie/issues/2448)
-- use OpenClsid={00000000-0000-0000-0000-000000000000} to open all
### Changed ### Changed
- refactored network blocking code in driver - refactored network blocking code in driver

View File

@ -434,9 +434,9 @@ _FX BOOLEAN SbieDll_IsOpenClsid(
// open the null clsid to open all // open the null clsid to open all
// //
//static const GUID CLSID_Null = { static const GUID CLSID_Null = {
// 0x00000000, 0x0000, 0x0000, 0x00000000, 0x0000, 0x0000,
// { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }; { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } };
if (clsctx & CLSCTX_LOCAL_SERVER) { if (clsctx & CLSCTX_LOCAL_SERVER) {
@ -477,7 +477,7 @@ _FX BOOLEAN SbieDll_IsOpenClsid(
for (index = 0; index < Com_NumOpenClsids; ++index) { for (index = 0; index < Com_NumOpenClsids; ++index) {
guid = &Com_OpenClsids[index]; guid = &Com_OpenClsids[index];
if (memcmp(guid, rclsid, sizeof(GUID)) == 0 /*|| memcmp(guid, &CLSID_Null, sizeof(GUID)) == 0*/) if (memcmp(guid, rclsid, sizeof(GUID)) == 0 || memcmp(guid, &CLSID_Null, sizeof(GUID)) == 0)
return TRUE; return TRUE;
} }
} }