Skip to content

Commit

Permalink
Update ProcessServer.cpp
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
offhub authored Dec 18, 2024
1 parent 9bea526 commit 850c845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sandboxie/core/svc/ProcessServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ BOOL ProcessServer::KillProcess(ULONG ProcessId)
else {

//
// Bevore terminating any process, check if still its a sandboxed process as PID's get reused,
// but not as long as a handle is open, hence chacking after OpenProcess remains valid untill CloseHandle
// Before terminating any process, check if still its a sandboxed process as PID's get reused,
// but not as long as a handle is open, hence checking after OpenProcess remains valid until CloseHandle
//
// also check if process was marked as critical process
//
Expand Down Expand Up @@ -2219,4 +2219,4 @@ MSG_HEADER *ProcessServer::SuspendAllHandler(MSG_HEADER *msg)
HeapFree(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, pids);

return SHORT_REPLY(STATUS_SUCCESS);
}
}

0 comments on commit 850c845

Please sign in to comment.