diff --git a/Sandboxie/core/drv/thread.c b/Sandboxie/core/drv/thread.c index 7a086ca5..8d184e9e 100644 --- a/Sandboxie/core/drv/thread.c +++ b/Sandboxie/core/drv/thread.c @@ -1124,7 +1124,7 @@ _FX ACCESS_MASK Thread_CheckObject_CommonEx( // in that case we need to ignore it. // - if (proc2 && !proc2->box && !proc2->bHostInject) { + if (proc2 && proc2->box && !proc2->bHostInject) { ACCESS_MASK WriteAccess; if (EntireProcess)